Fix lib, include, crt and libgcc search paths

This commit is contained in:
Thomas Preud'homme
2013-09-07 19:26:36 +02:00
parent 73faaea227
commit 9382d6f1a0
2 changed files with 13 additions and 12 deletions

2
configure vendored
View File

@ -304,7 +304,7 @@ if test -z "$cross_prefix" ; then
if test "$mingw32" = "no" ; then
triplet="$($CONFTEST triplet)"
if test -f "/usr/lib/$triplet/crti.o" ; then
tcc_lddir="lib/$triplet"
tcc_lddir="lib"
multiarch_triplet="$triplet"
elif test -f "/usr/lib64/crti.o" ; then
tcc_lddir="lib64"