mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-18 14:16:00 +08:00
* ltconfig.in (netbsd*, GNU ld): Support a.out shared libraries
This commit is contained in:
parent
4ddeed6d75
commit
314ef2c7d1
@ -1,5 +1,7 @@
|
|||||||
1999-04-05 Alexandre Oliva <oliva@dcc.unicamp.br>
|
1999-04-05 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||||
|
|
||||||
|
* ltconfig.in (netbsd*, GNU ld): Support a.out shared libraries
|
||||||
|
|
||||||
* Makefile.am (CVS): allow command-line overriding of cvs
|
* Makefile.am (CVS): allow command-line overriding of cvs
|
||||||
|
|
||||||
* ltconfig.in (exclude_expsyms): Exclude _GLOBAL_OFFSET_TABLE_ by
|
* ltconfig.in (exclude_expsyms): Exclude _GLOBAL_OFFSET_TABLE_ by
|
||||||
|
10
ltconfig.in
10
ltconfig.in
@ -1117,6 +1117,16 @@ EOF
|
|||||||
$CC $objdir/$soname-exp -Wl,--dll -nostartfiles -Wl,-e,__cygwin_dll_entry@12 -o $lib $objdir/$soname-ltdll.$objext $libobjs $deplibs $linkopts'
|
$CC $objdir/$soname-exp -Wl,--dll -nostartfiles -Wl,-e,__cygwin_dll_entry@12 -o $lib $objdir/$soname-ltdll.$objext $libobjs $deplibs $linkopts'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
netbsd*)
|
||||||
|
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'
|
||||||
|
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'
|
||||||
|
# can we support soname and/or expsyms with a.out? -oliva
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
sunos4*)
|
sunos4*)
|
||||||
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||||
wlarc=
|
wlarc=
|
||||||
|
Loading…
Reference in New Issue
Block a user