summaryrefslogtreecommitdiff
path: root/www/php4/Makefile.module
diff options
context:
space:
mode:
Diffstat (limited to 'www/php4/Makefile.module')
-rw-r--r--www/php4/Makefile.module9
1 files changed, 4 insertions, 5 deletions
diff --git a/www/php4/Makefile.module b/www/php4/Makefile.module
index 6b10d18ab5b..dacfc42a63c 100644
--- a/www/php4/Makefile.module
+++ b/www/php4/Makefile.module
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.module,v 1.17 2002/08/26 00:16:57 grant Exp $
+# $NetBSD: Makefile.module,v 1.18 2002/09/04 14:47:40 agc Exp $
#
# This Makefile is provided to ease creating PHP4 packages for the extension
# modules distributed in the PHP4 sources.
@@ -32,10 +32,9 @@ USE_CONFIG_WRAPPER= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-# Ensure we export symbols in the linked shared objects.
-.if ${OPSYS} != "SunOS"
-LDFLAGS+= -Wl,--export-dynamic
-.endif
+# Ensure we export symbols in the linked shared object.
+LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
+MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
PLIST_SRC= ${.CURDIR}/../../www/php4/PLIST.module
MESSAGE_SRC= ${.CURDIR}/../../www/php4/MESSAGE.module