update Sun Nov 22 12:37:00 PST 2009
[pkgsrc.git] / archivers / zziplib / patches / patch-bc
1 $NetBSD: patch-bc,v 1.1 2009/11/22 20:35:25 sno Exp $
2
3 replacing explicit --export-dynamic by ${EXPORT_SYMBOLS_LDFLAGS}
4
5 --- aclocal.m4.orig     2009-05-30 17:09:55.000000000 +0200
6 +++ aclocal.m4  2009-05-30 17:13:08.000000000 +0200
7 @@ -3856,7 +3856,7 @@
8    if test "$ld_shlibs" = yes; then
9      runpath_var=LD_RUN_PATH
10      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
11 -    export_dynamic_flag_spec='${wl}--export-dynamic'
12 +    export_dynamic_flag_spec='${EXPORT_SYMBOLS_LDFLAGS}'
13      case $host_os in
14      cygwin* | mingw* | pw32*)
15        # dlltool doesn't understand --whole-archive et. al.