mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
17 lines
800 B
Plaintext
17 lines
800 B
Plaintext
$NetBSD: patch-bc,v 1.2 2009/11/29 20:40:08 sno Exp $
|
|
|
|
replacing explicit --export-dynamic by ${EXPORT_SYMBOLS_LDFLAGS}
|
|
for xlc
|
|
|
|
--- m4/libtool.m4.orig 2009-11-29 20:26:36.000000000 +0000
|
|
+++ m4/libtool.m4 2009-11-29 20:29:09.000000000 +0000
|
|
@@ -5947,7 +5947,7 @@
|
|
xl*)
|
|
# IBM XL 8.0 on PPC, with GNU ld
|
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
|
- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
|
|
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${EXPORT_SYMBOLS_LDFLAGS}'
|
|
_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
if test "x$supports_anon_versioning" = xyes; then
|
|
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|