[SDL] /usr/local stuff added unconditionnally in configure.in

Patrice Mandin mandin.patrice at wanadoo.fr
Thu May 11 14:30:12 PDT 2006


Hello,

Around lines 77-84 in configure.in lie these lines:

for path in /usr/local; do
    if test -d $path/include; then
        EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include"
    fi
    if test -d $path/lib; then
        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib"
    fi
done

When cross-compiling, this is definitely something we don't want (mixing
build and host/target libraries/include).

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux




More information about the SDL mailing list