mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-05 14:40:42 +08:00
* ltconfig.in (aix4*, hardcode_libdir_flag_spec): unless we're
using gcc with old collect2, use -b libpath to hardcode the library search path
This commit is contained in:
parent
3e083d9fd5
commit
c42a57bd93
@ -1,5 +1,9 @@
|
|||||||
1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br>
|
1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||||
|
|
||||||
|
* ltconfig.in (aix4*, hardcode_libdir_flag_spec): unless we're
|
||||||
|
using gcc with old collect2, use -b libpath to hardcode the
|
||||||
|
library search path
|
||||||
|
|
||||||
* ltmain.in, ltconfig.in: reverted most of the quoting changes
|
* ltmain.in, ltconfig.in: reverted most of the quoting changes
|
||||||
from 1999-03-25; Gary's delay_variable_subst patch from 1999-02-19
|
from 1999-03-25; Gary's delay_variable_subst patch from 1999-02-19
|
||||||
obviates it. Keep only quoting of $PATH, for uniformity with
|
obviates it. Keep only quoting of $PATH, for uniformity with
|
||||||
|
13
ltconfig.in
13
ltconfig.in
@ -1157,6 +1157,8 @@ else
|
|||||||
|
|
||||||
aix4*)
|
aix4*)
|
||||||
allow_undefined_flag=
|
allow_undefined_flag=
|
||||||
|
hardcode_libdir_flag_spec='${wl}-b ${wl}nolibpath ${wl}-b ${wl}libpath:$libdir:/usr/lib:/lib'
|
||||||
|
hardcode_libdir_separator=':'
|
||||||
if test "$with_gcc" = yes; then
|
if test "$with_gcc" = yes; then
|
||||||
if strings `${CC} -print-prog-name=collect2` | \
|
if strings `${CC} -print-prog-name=collect2` | \
|
||||||
grep resolve_lib_name >/dev/null
|
grep resolve_lib_name >/dev/null
|
||||||
@ -1166,6 +1168,12 @@ else
|
|||||||
else
|
else
|
||||||
# We have old collect2
|
# We have old collect2
|
||||||
hardcode_direct=unsupported
|
hardcode_direct=unsupported
|
||||||
|
# It fails to find uninstalled libraries when the uninstalled
|
||||||
|
# path is not listed in the libpath. Setting hardcode_minus_L
|
||||||
|
# to unsupported forces relinking
|
||||||
|
hardcode_minus_L=yes
|
||||||
|
hardcode_libdir_flag_spec='-L$libdir'
|
||||||
|
hardcode_libdir_separator=
|
||||||
fi
|
fi
|
||||||
archive_cmds='$CC -shared ${wl}-bnoentry -o $objdir/$soname $libobjs $deplibs $linkopts'
|
archive_cmds='$CC -shared ${wl}-bnoentry -o $objdir/$soname $libobjs $deplibs $linkopts'
|
||||||
else
|
else
|
||||||
@ -1173,11 +1181,6 @@ else
|
|||||||
archive_expsym_cmds='$CC -o $objdir/$soname $libobjs $deplibs $linkopts ${wl}-bE:$export_symbols ${wl}-bM:SRE ${wl}-bnoentry'
|
archive_expsym_cmds='$CC -o $objdir/$soname $libobjs $deplibs $linkopts ${wl}-bE:$export_symbols ${wl}-bM:SRE ${wl}-bnoentry'
|
||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
fi
|
fi
|
||||||
hardcode_minus_L=yes
|
|
||||||
# Though LIBPATH variable hardcodes shlibpath into executable,
|
|
||||||
# it doesn't affect searching for -l* libraries; this confuses
|
|
||||||
# tests in mdemo.
|
|
||||||
hardcode_libdir_flag_spec='-L$libdir'
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
amigaos*)
|
amigaos*)
|
||||||
|
Loading…
Reference in New Issue
Block a user