summaryrefslogtreecommitdiff
path: root/archivers/zziplib/patches/patch-bd
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/zziplib/patches/patch-bd')
-rw-r--r--archivers/zziplib/patches/patch-bd24
1 files changed, 24 insertions, 0 deletions
diff --git a/archivers/zziplib/patches/patch-bd b/archivers/zziplib/patches/patch-bd
new file mode 100644
index 00000000000..d91b6624de5
--- /dev/null
+++ b/archivers/zziplib/patches/patch-bd
@@ -0,0 +1,24 @@
+$NetBSD: patch-bd,v 1.1 2009/11/22 20:35:25 sno Exp $
+
+replacing explicit --export-dynamic by ${EXPORT_SYMBOLS_LDFLAGS}
+
+--- zziplib/configure.orig 2009-05-30 17:10:08.000000000 +0200
++++ zziplib/configure 2009-05-30 17:13:49.000000000 +0200
+@@ -5017,7 +5017,7 @@
+ if test "$ld_shlibs" = yes; then
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
+- export_dynamic_flag_spec='${wl}--export-dynamic'
++ export_dynamic_flag_spec='${EXPORT_SYMBOLS_LDFLAGS}'
+ case $host_os in
+ cygwin* | mingw* | pw32*)
+ # dlltool doesn't understand --whole-archive et. al.
+@@ -8553,7 +8553,7 @@
+ RESOLVES=' '
+ ;;
+ *)
+- ZZIPLIB_LDFLAGS="--export-dynamic"
++ ZZIPLIB_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
+ RESOLVES=' # '
+ ;;
+ esac