again a fix for systems where wine confuses the cross-compiling detection of ./configure

pull/13/head
Volker Grabsch 17 years ago
parent 60b81f4040
commit 733bfa270f

@ -1340,6 +1340,8 @@ case "$1" in
# ensure there is no (buggy) attempt to install the *.dll.a file
# (remove this line of you want to link dynamically)
$SED 's,^install-data-local:.*,install-data-local:,' -i src/Makefile.in
# wine confuses the cross-compiling detection, so set it explicitly
$SED 's,cross_compiling=no,cross_compiling=yes,' -i configure
./configure \
--host="$TARGET" \
--disable-shared \

Loading…
Cancel
Save