From: Alexandre Oliva Date: Mon, 10 Jul 2000 06:54:27 +0000 (+0000) Subject: * ltconfig.in (wlarc, netbsd, aout): Set to empty. X-Git-Tag: release-1-3d~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc7218844398e15ee2bf42ad85a6127afe3dca28;p=thirdparty%2Flibtool.git * ltconfig.in (wlarc, netbsd, aout): Set to empty. (hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it. --- 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.