]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (wlarc, netbsd, aout): Set to empty.
authorAlexandre Oliva <aoliva@lsd.ic.unicamp.br>
Mon, 10 Jul 2000 06:54:27 +0000 (06:54 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 10 Jul 2000 06:54:27 +0000 (06:54 +0000)
(hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it.

ChangeLog
ltconfig.in

index fb2b99aa9c7418e4be1e833583e2189805773d11..8c0f80f4404109e8cbdfc5ad8f4de3f22404b798 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-07-10  Alexandre Oliva  <aoliva@lsd.ic.unicamp.br>
 
+       * 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.
 
index c6e35144ad9e4f7cad1ac1ee445c4cb84a38729c..4eee1aaf9f61e3f59130eff60142d3958a300798 100755 (executable)
@@ -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.