Skip to content

Commit

Permalink
Bug 1547639 - Automatic vendoring of zlib, r=jcj
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D58499

--HG--
extra : moz-landing-system : lando
  • Loading branch information
martinthomson committed Jan 22, 2020
1 parent a4b73f2 commit d57eed1
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 1,016 deletions.
7 changes: 0 additions & 7 deletions lib/zlib/README.nss
Expand Up @@ -9,10 +9,3 @@ Description:

NSS uses zlib in libSSL (for the DEFLATE compression method), modutil, and
signtool.

Local Modifications:

- patches/prune-zlib.sh: run this shell script to remove unneeded files
from the zlib distribution.
- patches/msvc-vsnprintf.patch: define HAVE_VSNPRINTF for Visual C++ 2008
(9.0) and later.
5 changes: 3 additions & 2 deletions lib/zlib/config.mk
Expand Up @@ -8,13 +8,14 @@
# are specifed as dependencies within rules.mk.
#

TARGETS = $(LIBRARY) $(PROGRAMS)
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PROGRAM =

EXTRA_LIBS = $(LIBRARY)

ifeq ($(OS_TARGET),Linux)
ifneq ($(OS_ARCH),WINNT)
DEFINES += -DHAVE_UNISTD_H
endif
DEFINES += -DHAVE_STDARG_H

0 comments on commit d57eed1

Please sign in to comment.