mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-01 15:25:27 +08:00
* ltconfig.in (wlarc, netbsd, aout): Set to empty.
(hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it.
This commit is contained in:
parent
6172e455b7
commit
cc72188443
@ -1,5 +1,8 @@
|
||||
2000-07-10 Alexandre Oliva <aoliva@lsd.ic.unicamp.br>
|
||||
|
||||
* ltconfig.in (wlarc, netbsd, aout): Set to empty.
|
||||
(hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it.
|
||||
|
||||
* ltconfig.in (dynamic_linker, linux, powerpc): Do not disable
|
||||
shared libraries just because of MkLinux.
|
||||
|
||||
|
@ -1087,6 +1087,7 @@ EOF
|
||||
netbsd*)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
||||
wlarc=
|
||||
else
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
@ -1133,8 +1134,8 @@ EOF
|
||||
|
||||
if test "$ld_shlibs" = yes; then
|
||||
runpath_var=LD_RUN_PATH
|
||||
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
|
||||
export_dynamic_flag_spec='${wl}--export-dynamic'
|
||||
hardcode_libdir_flag_spec="$wlarc"'--rpath '"$wlarc"'$libdir'
|
||||
export_dynamic_flag_spec="$wlarc"'--export-dynamic'
|
||||
case $host_os in
|
||||
cygwin* | mingw*)
|
||||
# dlltool doesn't understand --whole-archive et. al.
|
||||
|
Loading…
Reference in New Issue
Block a user