Bug 778560 - Fix typo that prevented JS from ever using zlib. r=dmandelin

This commit is contained in:
Benjamin Peterson 2012-07-30 19:23:44 -07:00
parent 1e9fefd64e
commit db482fef8b

View File

@ -668,7 +668,10 @@ endif
CFLAGS += $(MOZ_ZLIB_CFLAGS)
EXTRA_LIBS += $(MOZ_ZLIB_LIBS)
ifdef MOZ_LIB_LIBS
# Enable zlib usage if zlib has been located. When building the browser on
# Windows, MOZ_ZLIB_LIBS is empty because zlib is part of libmozglue. We thus
# also enable zlib if mozglue is present.
ifneq (,$(MOZ_ZLIB_LIBS)$(MOZ_GLUE_LDFLAGS))
DEFINES += -DUSE_ZLIB
endif