diff options
Diffstat (limited to 'security/nss/lib/nss/config.mk')
-rw-r--r-- | security/nss/lib/nss/config.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/security/nss/lib/nss/config.mk b/security/nss/lib/nss/config.mk index c18b1c6ae..693b6d31a 100644 --- a/security/nss/lib/nss/config.mk +++ b/security/nss/lib/nss/config.mk @@ -97,3 +97,10 @@ ifeq ($(OS_TARGET),SunOS) # dependencies (libsoftokn3.so) in the same directory where it resides. MKSHLIB += -R '$$ORIGIN' endif + +ifeq (,$(filter-out WINNT WIN95,$(OS_TARGET))) +# Export 'mktemp' to be backward compatible with NSS 3.2.x and 3.3.x +# but do not put it in the import library. See bug 142575. +DEFINES += -DWIN32_NSS3_DLL_COMPAT +DLLFLAGS += -EXPORT:mktemp=nss_mktemp,PRIVATE +endif |