(svn r4197) reentered STATIC_ZLIB_PATH (removed in 4183) since it turned out that it's used after all
This commit is contained in:
13
Makefile
13
Makefile
@@ -416,8 +416,17 @@ endif
|
||||
|
||||
# zlib config
|
||||
ifdef WITH_ZLIB
|
||||
CDEFS += -DWITH_ZLIB
|
||||
LIBS += -lz
|
||||
CDEFS += -DWITH_ZLIB
|
||||
ifdef STATIC
|
||||
ifdef OSX
|
||||
# OSX links dynamically to zlib, even in static builds since it's always present in the system
|
||||
LIBS += -lz
|
||||
else
|
||||
LIBS += $(STATIC_ZLIB_PATH)
|
||||
endif
|
||||
else
|
||||
LIBS += -lz
|
||||
endif
|
||||
endif
|
||||
|
||||
# libpng config
|
||||
|
||||
Reference in New Issue
Block a user