diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/ap-php4/Makefile | 8 | ||||
-rw-r--r-- | www/php4/Makefile.module | 8 |
2 files changed, 6 insertions, 10 deletions
diff --git a/www/ap-php4/Makefile b/www/ap-php4/Makefile index 342d7d31d10..65fbd5b989c 100644 --- a/www/ap-php4/Makefile +++ b/www/ap-php4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2001/05/03 13:40:33 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2001/05/03 14:31:00 jlam Exp $ .include "../../www/php4/Makefile.common" @@ -14,10 +14,8 @@ BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5 CONFIGURE_ARGS+= --with-apxs=${LOCALBASE}/sbin/apxs -# Ensure we export symbols in the linked ELF shared object. -.if (${OBJECT_FMT} == "ELF") -LDFLAGS+= -Wl,-E -.endif +# Ensure we export symbols in the linked shared object. +LDFLAGS+= -Wl,--export-dynamic do-install: ${INSTALL_DATA} ${WRKSRC}/.libs/libphp4.so \ 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} |