summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-05-18 20:53:53 +0000
committerSascha Schumann <sas@php.net>2001-05-18 20:53:53 +0000
commite29a1b223068cb6096e0f59eeb6218266a9fd558 (patch)
tree8cd533d86c8d08f3304262dcca34998802d4a33b /sapi
parent3c8140d97bb476bf98b122026baf0b83b72fed4d (diff)
downloadphp-git-e29a1b223068cb6096e0f59eeb6218266a9fd558.tar.gz
First try at using Apache's export list when building a DSO.
Diffstat (limited to 'sapi')
-rw-r--r--sapi/apache/config.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4
index 12aea5999f..f31b0f11f8 100644
--- a/sapi/apache/config.m4
+++ b/sapi/apache/config.m4
@@ -58,6 +58,12 @@ AC_ARG_WITH(apxs,
AC_DEFINE(HAVE_AP_CONFIG_H,1,[ ])
AC_DEFINE(HAVE_AP_COMPAT_H,1,[ ])
AC_MSG_RESULT(yes)
+ case $host_alias in
+ *aix*)
+ APXS_LIBEXECDIR=`$APXS -q LIBEXECDIR`
+ LDFLAGS="$LDFLAGS -Wl,-bI:$APXS_LIBEXECDIR/httpd.exp"
+ ;;
+ esac
],[
AC_MSG_RESULT(no)
])