aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 47d5f18d..fb1ad69c 100755
--- a/configure
+++ b/configure
@@ -10086,7 +10086,9 @@ fi
$as_echo "#define DYNAMIC 1" >>confdefs.h
- if uname | $EGREP -i 'linux|freebsd' > /dev/null
+ # Add -export-dynamic for old extensions. Only works for GCC
+ if test "$GCC" = yes &&
+ uname | $EGREP -i 'linux|freebsd' > /dev/null
then
LDFLAGS="$LDFLAGS -export-dynamic"
fi