From 190e99e0b239f9445dd5061f6d5afd0ca4fa825b Mon Sep 17 00:00:00 2001 From: veego Date: Fri, 19 Oct 2001 09:55:31 +0000 Subject: 'LDFLAGS+=-Wl,--export-dynamic' doesn't work on Solaris. --- www/ap-php4/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/ap-php4/Makefile b/www/ap-php4/Makefile index 8a69a9e2d38..e784c0f6b6b 100644 --- a/www/ap-php4/Makefile +++ b/www/ap-php4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2001/10/16 04:54:23 jlam Exp $ +# $NetBSD: Makefile,v 1.17 2001/10/19 09:55:31 veego Exp $ .include "../php4/Makefile.php" @@ -16,7 +16,9 @@ USE_BUILDLINK_ONLY= YES CONFIGURE_ARGS+= --with-apxs=${LOCALBASE}/sbin/apxs # Ensure we export symbols in the linked shared object. +.if ${OPSYS} != "SunOS" LDFLAGS+= -Wl,--export-dynamic +.endif do-install: ${INSTALL_DATA} ${WRKSRC}/.libs/libphp4.so \ -- cgit v1.2.3