aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mozilla/nss-3.12/80_security_tools.dpatch
blob: f7df38c973267c656c0218e939a428acd3b489bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: mozilla/security/coreconf/Linux.mk
===================================================================
--- mozilla.orig/security/coreconf/Linux.mk	2008-07-23 20:20:28.000000000 +0200
+++ mozilla/security/coreconf/Linux.mk	2008-07-23 20:20:33.000000000 +0200
@@ -184,3 +184,6 @@
 # Always set CPU_TAG on Linux, OpenVMS, WINCE.
 #
 CPU_TAG = _$(CPU_ARCH)
+
+USE_SYSTEM_ZLIB = 1
+ZLIB_LIBS = -lz
Index: mozilla/security/nss/cmd/platlibs.mk
===================================================================
--- mozilla.orig/security/nss/cmd/platlibs.mk	2008-07-23 20:20:13.000000000 +0200
+++ mozilla/security/nss/cmd/platlibs.mk	2008-07-23 20:20:33.000000000 +0200
@@ -38,6 +38,7 @@
 # set RPATH-type linker instructions here so they can be used in the shared
 # version and in the mixed (static nss libs/shared NSPR libs) version.
 
+ifdef ENABLE_RPATH
 ifeq ($(OS_ARCH), SunOS) 
 ifeq ($(BUILD_SUN_PKG), 1)
 ifeq ($(USE_64), 1)
@@ -71,6 +72,7 @@
 endif
 endif
 endif
+endif
 
 SQLITE=-lsqlite3