From cc7218844398e15ee2bf42ad85a6127afe3dca28 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Mon, 10 Jul 2000 06:54:27 +0000 Subject: [PATCH] * ltconfig.in (wlarc, netbsd, aout): Set to empty. (hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it. --- ChangeLog | 3 +++ ltconfig.in | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb2b99aa9..8c0f80f44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-07-10 Alexandre Oliva + * ltconfig.in (wlarc, netbsd, aout): Set to empty. + (hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it. + * ltconfig.in (dynamic_linker, linux, powerpc): Do not disable shared libraries just because of MkLinux. diff --git a/ltconfig.in b/ltconfig.in index c6e35144a..4eee1aaf9 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1087,6 +1087,7 @@ EOF netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' @@ -1133,8 +1134,8 @@ EOF 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' + hardcode_libdir_flag_spec="$wlarc"'--rpath '"$wlarc"'$libdir' + export_dynamic_flag_spec="$wlarc"'--export-dynamic' case $host_os in cygwin* | mingw*) # dlltool doesn't understand --whole-archive et. al. -- 2.47.3