]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld):
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sat, 6 Mar 1999 19:41:24 +0000 (19:41 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 6 Mar 1999 19:41:24 +0000 (19:41 +0000)
$lib.exp already starts with $objdir/
Reported by Godmar Back <gback@cs.utah.edu>

ChangeLog
ltconfig.in

index 5bff1d9ee29ea3ae057467d4ecf0bb8ce7b9d74c..b7b85d30a1e53f55bad88ddd0d94617ecaaa5e66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-03-06  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld):
+       $lib.exp already starts with $objdir/
+       Reported by Godmar Back <gback@cs.utah.edu>
+
        * ltmain.in (freebsd): compile symbol table file with pic_flag
        only on FreeBSD and when not static linking; it's been causing
        trouble on platforms such as OpenBSD.
index 5e34495556c7be8d744d397cd2d6368f72495a97..0c10258fbaf9d3bd99bc28e39e8c717aa4588421 100755 (executable)
@@ -1278,8 +1278,8 @@ else
     # $CC -shared without GNU ld will not create a library from C++
     # object files and a static libstdc++, better avoid it by now
     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linkopts'
-    archive_expsym_cmds='$echo "{ global:" > $objdir/$lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $objdir/$lib.exp~$echo "local: *; };" >> $objdir/$lib.exp~
-               $LD -G${allow_undefined_flag} -M $objdir/$lib.exp -h $soname -o $lib $libobjs $deplibs $linkopts~$rm $objdir/$lib.exp'
+    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linkopts~$rm $lib.exp'
     hardcode_libdir_flag_spec='-R$libdir'
     hardcode_shlibpath_var=no
     ;;