From: Alexandre Oliva Date: Sun, 4 Apr 1999 07:34:41 +0000 (+0000) Subject: * ltconfig.in (sunos4*, GNU ld): Reordered. X-Git-Tag: release-1-3~76 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bd746633e6ef21f8efbacbfd7ec4c5ca20c344f;p=thirdparty%2Flibtool.git * ltconfig.in (sunos4*, GNU ld): Reordered. --- diff --git a/ChangeLog b/ChangeLog index dbd5933ab..824a7fbf6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 1999-04-04 Alexandre Oliva + * ltconfig.in (sunos4*, GNU ld): Reordered. + * ltconfig.in (archive_cmds, sunos4*): Revert to -Bstatic; the native linker doesn't even support -Bshareable, only GNU ld does. Do not use `gcc -shared' in archive_cmds, it breaks deplibs.test. diff --git a/ltconfig.in b/ltconfig.in index 8b82d094c..449bffe07 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1068,13 +1068,6 @@ EOF ld_shlibs=no ;; - sunos4*) - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linkopts' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - beos*) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -nostart $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' @@ -1114,6 +1107,13 @@ EOF old_archive_from_new_cmds='$DLLTOOL --as=$AS --dllname $soname --def $objdir/$soname-def --output-lib $objdir/$libname.a' ;; + sunos4*) + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linkopts' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + *) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'