mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-29 18:09:11 -04:00
libtool 1.3.5 had link commands for NetBSD a.out and ELF backwards
This commit is contained in:
parent
d34b3b1c12
commit
0e3c79132a
1 changed files with 4 additions and 4 deletions
8
ltconfig
8
ltconfig
|
|
@ -1194,11 +1194,11 @@ EOF
|
|||
|
||||
netbsd*)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
else
|
||||
archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib'
|
||||
archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' # a.out
|
||||
# can we support soname and/or expsyms with a.out? -oliva
|
||||
else
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' # ELF
|
||||
fi
|
||||
;;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue