mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
libz pkgconfig
This commit is contained in:
parent
e62c0794dc
commit
c9aebc6f81
1 changed files with 10 additions and 0 deletions
10
src/Makefile
10
src/Makefile
|
@ -179,6 +179,9 @@ endif
|
|||
|
||||
ifdef LINUX
|
||||
UNIXCOMMON=1
|
||||
ifndef NOGME
|
||||
HAVE_LIBGME=1
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef SOLARIS
|
||||
|
@ -318,6 +321,13 @@ endif
|
|||
ifdef HAVE_LIBGME
|
||||
OPTS+=-DHAVE_LIBGME
|
||||
|
||||
ZLIB_PKGCONFIG?=zlib
|
||||
ZLIB_CFLAGS?=$(shell $(PKG_CONFIG) $(ZLIB_PKGCONFIG) --cflags)
|
||||
ZLIB_LDFLAGS?=$(shell $(PKG_CONFIG) $(ZLIB_PKGCONFIG) --libs)
|
||||
|
||||
LIBS+=$(ZLIB_LDFLAGS)
|
||||
CFLAGS+=$(ZLIB_CFLAGS)
|
||||
|
||||
LIBGME_PKGCONFIG?=libgme
|
||||
LIBGME_CFLAGS?=$(shell $(PKG_CONFIG) $(LIBGME_PKGCONFIG) --cflags)
|
||||
LIBGME_LDFLAGS?=$(shell $(PKG_CONFIG) $(LIBGME_PKGCONFIG) --libs)
|
||||
|
|
Loading…
Reference in a new issue