aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e32f4496..2133d731 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-18 Arnold D. Robbins <arnold@skeeve.com>
+
+ * configure.ac: Change adding of -export-dynamic for GCC to be
+ -Wl,-export-dynamic, which then works for PCC also.
+
2014-04-11 Arnold D. Robbins <arnold@skeeve.com>
* io.c (closemabyesocket): Define if not defined, e.g. building
diff --git a/configure b/configure
index 9d80aee9..31f1bf35 100755
--- a/configure
+++ b/configure
@@ -10151,7 +10151,7 @@ $as_echo "#define DYNAMIC 1" >>confdefs.h
if test "$GCC" = yes; then
case $host_os in
linux*|freebsd*)
- LDFLAGS="$LDFLAGS -export-dynamic"
+ LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
;;
esac
fi
diff --git a/configure.ac b/configure.ac
index 941334e3..95356171 100644
--- a/configure.ac
+++ b/configure.ac
@@ -313,7 +313,7 @@ EOF
if test "$GCC" = yes; then
case $host_os in
linux*|freebsd*)
- LDFLAGS="$LDFLAGS -export-dynamic"
+ LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
;;
esac
fi