update Sun Nov 29 18:37:00 PST 2009
[pkgsrc.git] / archivers / zziplib / patches / patch-bc
1 $NetBSD: patch-bc,v 1.2 2009/11/29 20:40:08 sno Exp $
2
3 replacing explicit --export-dynamic by ${EXPORT_SYMBOLS_LDFLAGS}
4 for xlc
5
6 --- m4/libtool.m4.orig  2009-11-29 20:26:36.000000000 +0000
7 +++ m4/libtool.m4       2009-11-29 20:29:09.000000000 +0000
8 @@ -5947,7 +5947,7 @@
9           xl*)
10             # IBM XL 8.0 on PPC, with GNU ld
11             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
12 -           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
13 +           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${EXPORT_SYMBOLS_LDFLAGS}'
14             _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15             if test "x$supports_anon_versioning" = xyes; then
16               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~