mirror of
https://https.git.savannah.gnu.org/git/libtool.git
synced 2026-01-26 15:39:10 +00:00
Minor sysroot fixups.
* libltdl/m4/libtool.m4 (_LT_WITH_SYSROOT): Fix typo. * tests/sysroot.at: Search also for crt0.o to accommodate cygwin. Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
This commit is contained in:
parent
22a1206903
commit
83f5d15c88
@ -1,3 +1,9 @@
|
||||
2010-08-28 Charles Wilson <libtool@cwilson.fastmail.fm>
|
||||
|
||||
Minor sysroot fixups.
|
||||
* libltdl/m4/libtool.m4 (_LT_WITH_SYSROOT): Fix typo.
|
||||
* tests/sysroot.at: Search also for crt0.o to accommodate cygwin.
|
||||
|
||||
2010-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
fix AIX testsuite regression
|
||||
|
||||
2
libltdl/m4/libtool.m4
vendored
2
libltdl/m4/libtool.m4
vendored
@ -1182,7 +1182,7 @@ lt_sysroot=
|
||||
case ${with_sysroot} in #(
|
||||
yes)
|
||||
if test "$GCC" = yes; then
|
||||
lt_sysroot=`$GCC --print-sysroot 2>/dev/null`
|
||||
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
|
||||
fi
|
||||
;; #(
|
||||
/*)
|
||||
|
||||
@ -34,7 +34,7 @@ AT_CHECK([test -n "$gcc_sysroot" || exit 77])
|
||||
|
||||
# Detect installation prefix for the compiler
|
||||
prefix=
|
||||
for i in crt1.o crt2.o crti.o; do
|
||||
for i in crt0.o crt1.o crt2.o crti.o; do
|
||||
j=`$CC --print-file-name $i 2> /dev/null`
|
||||
test $? = 0 || continue
|
||||
case "$j" in
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user