summaryrefslogtreecommitdiff
path: root/data/gawk/dynamic.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/gawk/dynamic.diff')
-rw-r--r--data/gawk/dynamic.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/gawk/dynamic.diff b/data/gawk/dynamic.diff
new file mode 100644
index 000000000..322b9acec
--- /dev/null
+++ b/data/gawk/dynamic.diff
@@ -0,0 +1,19 @@
+diff -r -u gawk-3.1.6/configure.ac gawk-3.1.6+iPhone/configure.ac
+--- gawk-3.1.6/configure.ac 2007-10-22 06:51:06.000000000 +0000
++++ gawk-3.1.6+iPhone/configure.ac 2007-12-27 12:18:29.000000000 +0000
+@@ -285,15 +285,6 @@
+ dnl This is known to be very primitive
+ AC_CHECK_HEADER(dlfcn.h,
+ [AC_DEFINE([DYNAMIC], 1, [dynamic loading is possible])
+- if test "$GCC" = yes
+- then
+- # Add others here as appropriate,
+- # one day use GNU libtool.
+- if uname | $EGREP -i 'linux|freebsd|cygwin' > /dev/null
+- then
+- LDFLAGS="$LDFLAGS -export-dynamic"
+- fi
+- fi
+
+ # Check this separately. Some systems have dlopen
+ # in libc. Notably freebsd and cygwin.