make/java/zip/Makefile

Print this page

        

*** 54,63 **** --- 54,67 ---- ifneq ($(LIBZIP_CAN_USE_MMAP),false) OTHER_CFLAGS += -DUSE_MMAP endif endif + ifeq ($(SYSTEM_ZLIB),true) + OTHER_CFLAGS += $(ZLIB_CFLAGS) + endif + # # Library to compile. # ifeq ($(PLATFORM), solaris) ifneq ($(ARCH), amd64)
*** 88,97 **** # # Link to JVM library for JVM_Zip* functions # ifeq ($(SYSTEM_ZLIB),true) ! OTHER_LDLIBS = -lz else OTHER_LDLIBS = $(JVMLIB) endif --- 92,101 ---- # # Link to JVM library for JVM_Zip* functions # ifeq ($(SYSTEM_ZLIB),true) ! OTHER_LDLIBS = $(ZLIB_LIBS) else OTHER_LDLIBS = $(JVMLIB) endif