From: Alexandre Oliva Date: Sat, 6 Mar 1999 19:41:24 +0000 (+0000) Subject: * ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld): X-Git-Tag: release-1-2f~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae2fcb7297f2ea3443ad6916ad86aa67978dd463;p=thirdparty%2Flibtool.git * ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld): $lib.exp already starts with $objdir/ Reported by Godmar Back --- diff --git a/ChangeLog b/ChangeLog index 5bff1d9ee..b7b85d30a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1999-03-06 Alexandre Oliva + * ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld): + $lib.exp already starts with $objdir/ + Reported by Godmar Back + * 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. diff --git a/ltconfig.in b/ltconfig.in index 5e3449555..0c10258fb 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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 ;;