summaryrefslogtreecommitdiff
path: root/www/php4
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-03 14:31:00 +0000
committerjlam <jlam@pkgsrc.org>2001-05-03 14:31:00 +0000
commit41dc957e4a457188f7124e13b1c6c4c1454ad4dd (patch)
tree2f8073faebe8ae95b485ea8131b926cb0e226e9f /www/php4
parent96c8d6b3252ae5c61ee475e4cff2bad065c5ff0d (diff)
downloadpkgsrc-41dc957e4a457188f7124e13b1c6c4c1454ad4dd.tar.gz
Use --export-dynamic instead of -E as it's recognized by both the old
and new ld on both a.out and ELF, on advice from skrll.netbsd.org.
Diffstat (limited to 'www/php4')
-rw-r--r--www/php4/Makefile.module8
1 files changed, 3 insertions, 5 deletions
diff --git a/www/php4/Makefile.module b/www/php4/Makefile.module
index e43d8efc7f7..15705fd79a0 100644
--- a/www/php4/Makefile.module
+++ b/www/php4/Makefile.module
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.module,v 1.7 2001/05/03 13:41:43 jlam Exp $
+# $NetBSD: Makefile.module,v 1.8 2001/05/03 14:31:01 jlam Exp $
#
# This Makefile is provided to ease creating PHP4 packages for the extension
# modules distributed in the PHP4 sources.
@@ -29,10 +29,8 @@ MESSAGE_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
PLIST_SRC= ${.CURDIR}/../../www/php4/pkg/PLIST.module
-# Ensure we export symbols in the linked ELF shared objects.
-.if (${OBJECT_FMT} == "ELF")
-LDFLAGS+= -Wl,-E
-.endif
+# Ensure we export symbols in the linked shared objects.
+LDFLAGS+= -Wl,--export-dynamic
do-build:
@cd ${EXTDIR}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${ALL_TARGET}