From a6eea79a1d33fe0545bd4b3785b05f5a1ad7ec0f Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sun, 4 Apr 1999 07:34:51 +0000 Subject: [PATCH] * ltconfig.in (sunos4*, GNU ld): Reordered. --- ChangeLog | 2 ++ ltconfig.in | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index c28240574..b2912b546 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 391478a83..3a563de8c 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1072,13 +1072,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' @@ -1123,6 +1116,13 @@ EOF $CC $objdir/$soname-exp -Wl,--dll -nostartfiles -Wl,-e,__cygwin_dll_entry@12 -o $lib $objdir/$soname-ltdll.$objext $libobjs $deplibs $linkopts' ;; + 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' -- 2.47.3