zlib.mk 595 B

123456789101112131415161718
  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. # Configuration information for linking against zlib.
  6. # If a platform has a system zlib, set USE_SYSTEM_ZLIB to 1 and
  7. # ZLIB_LIBS to the linker command-line arguments for the system zlib
  8. # (for example, -lz) in the platform's config file in coreconf.
  9. ifdef USE_SYSTEM_ZLIB
  10. OS_LIBS += $(ZLIB_LIBS)
  11. else
  12. ZLIB_LIBS = $(DIST)/lib/$(LIB_PREFIX)zlib.$(LIB_SUFFIX)
  13. EXTRA_LIBS += $(ZLIB_LIBS)
  14. endif