summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/configure2
-rw-r--r--source3/configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure b/source3/configure
index cdb2c6f099..86d46538b0 100755
--- a/source3/configure
+++ b/source3/configure
@@ -8928,7 +8928,7 @@ EOF
;;
*bsd*) BLDSHARED="true"
LDSHFLAGS="-Wl,-soname,\$@ -shared"
- DYNEXP="-Wl,--export-dynamic"
+ DYNEXP="-Wl,-Bdynamic"
PICFLAG="-fPIC"
cat >> confdefs.h <<\EOF
#define STAT_ST_BLOCKSIZE 512
diff --git a/source3/configure.in b/source3/configure.in
index 3f419b3ba5..e01b9cb392 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -898,7 +898,7 @@ case "$host_os" in
;;
*bsd*) BLDSHARED="true"
LDSHFLAGS="-Wl,-soname,\$@ -shared"
- DYNEXP="-Wl,--export-dynamic"
+ DYNEXP="-Wl,-Bdynamic"
PICFLAG="-fPIC"
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
;;