summaryrefslogtreecommitdiff
path: root/data/gawk/dynamic.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
commitea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch)
tree6826a5266d78c22210c194772a8daed06ef0a19c /data/gawk/dynamic.diff
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
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.