zlib.mk (595B)
1 # 2 # This Source Code Form is subject to the terms of the Mozilla Public 3 # License, v. 2.0. If a copy of the MPL was not distributed with this 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 # Configuration information for linking against zlib. 7 8 # If a platform has a system zlib, set USE_SYSTEM_ZLIB to 1 and 9 # ZLIB_LIBS to the linker command-line arguments for the system zlib 10 # (for example, -lz) in the platform's config file in coreconf. 11 ifdef USE_SYSTEM_ZLIB 12 OS_LIBS += $(ZLIB_LIBS) 13 else 14 ZLIB_LIBS = $(DIST)/lib/$(LIB_PREFIX)zlib.$(LIB_SUFFIX) 15 EXTRA_LIBS += $(ZLIB_LIBS) 16 endif