summaryrefslogtreecommitdiff
path: root/data/gawk/dynamic.diff
blob: 322b9aceca1748e6395fa7b024fa8e025e0c3783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.