mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-18 14:16:00 +08:00
* ltconfig.in (sunos4*, GNU ld): Reordered.
This commit is contained in:
parent
53f990aef8
commit
a6eea79a1d
@ -1,5 +1,7 @@
|
||||
1999-04-04 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* 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.
|
||||
|
14
ltconfig.in
14
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'
|
||||
|
Loading…
Reference in New Issue
Block a user