zziplib/zziplib-0.13.60-proper-export-dynamic.patch
2012-03-08 13:48:00 -05:00

13 lines
627 B
Diff

diff -up zziplib-0.13.60/configure.fix zziplib-0.13.60/configure
--- zziplib-0.13.60/configure.fix 2012-03-08 13:35:53.989071114 -0500
+++ zziplib-0.13.60/configure 2012-03-08 13:36:10.900929640 -0500
@@ -13713,7 +13713,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking link options" >&5
$as_echo_n "checking link options... " >&6; }
ZZIPLIB_LDFLAGS=""
-test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="--export-dynamic"
+test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="-Wl,--export-dynamic"
RESOLVES=" # "
case "$host_os" in mingw*)
ZZIPLIB_LDFLAGS="-no-undefined -export-all-symbols -mconsole"