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

pull/13/head
Volker Grabsch 15 years ago
parent 42870877a7
commit 1da1b906b4

@ -22,6 +22,8 @@ define $(PKG)_BUILD
$(SED) 's,enable_static=no,enable_static=yes,' -i '$(1)/configure'
$(SED) 's,enable_shared=yes,enable_shared=no,' -i '$(1)/configure'
$(SED) 's,^install-data-local:.*,install-data-local:,' -i '$(1)/modules/Makefile.in'
# wine confuses the cross-compiling detection, so set it explicitly
$(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \

Loading…
Cancel
Save