diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-12-19 17:00:26 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-12-19 17:00:26 +0200 |
commit | ed17f7f9d71310c6418ba10a81bb35792f46cb08 (patch) | |
tree | 5b94aeebe6fe18634e09f1b90225b7b8172b67ce /configure.ac | |
parent | 45eced1c2512d48a392c7b9f761137d7601fa5b8 (diff) | |
download | egawk-ed17f7f9d71310c6418ba10a81bb35792f46cb08.tar.gz egawk-ed17f7f9d71310c6418ba10a81bb35792f46cb08.tar.bz2 egawk-ed17f7f9d71310c6418ba10a81bb35792f46cb08.zip |
Restore building with tcc.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index bccd2351..fef29e06 100644 --- a/configure.ac +++ b/configure.ac @@ -295,7 +295,9 @@ AC_CHECK_HEADER(dlfcn.h, if test "$gawk_have_dlopen" = yes then AC_DEFINE([DYNAMIC], 1, [dynamic loading is possible]) - 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 |