summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-05-26 00:51:36 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-05-26 00:51:36 (GMT)
commitf0bb2e5b161f7d2fae7aa32f2ea7ce0c811d66fc (patch)
treeba32f100100209f9c6fa7922b9b827042e1bc9c6 /src
parentc29b0bdd82c81b4ca1abc2dcd77615488e3b081f (diff)
downloadmxe-f0bb2e5b161f7d2fae7aa32f2ea7ce0c811d66fc.zip
mxe-f0bb2e5b161f7d2fae7aa32f2ea7ce0c811d66fc.tar.gz
mxe-f0bb2e5b161f7d2fae7aa32f2ea7ce0c811d66fc.tar.bz2
wine fix for package wxwidgets (by Tony Theodore)
Diffstat (limited to 'src')
-rw-r--r--src/wxwidgets.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wxwidgets.mk b/src/wxwidgets.mk
index 89df700..5f1a4af 100644
--- a/src/wxwidgets.mk
+++ b/src/wxwidgets.mk
@@ -21,6 +21,8 @@ endef
define $(PKG)_BUILD
$(SED) -i 's,png_check_sig,png_sig_cmp,g' '$(1)/configure'
$(SED) -i 's,wx_cv_cflags_mthread=yes,wx_cv_cflags_mthread=no,' '$(1)/configure'
+ # wine confuses the cross-compiling detection, so set it explicitly
+ $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
@@ -65,6 +67,8 @@ define $(PKG)_BUILD
cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,wxwidgets)
$(SED) -i 's,png_check_sig,png_sig_cmp,g' '$(1)/$(wxwidgets_SUBDIR)/configure'
$(SED) -i 's,wx_cv_cflags_mthread=yes,wx_cv_cflags_mthread=no,' '$(1)/$(wxwidgets_SUBDIR)/configure'
+ # wine confuses the cross-compiling detection, so set it explicitly
+ $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/$(wxwidgets_SUBDIR)/configure'
cd '$(1)/$(wxwidgets_SUBDIR)' && ./configure \
--host='$(TARGET)' \
--disable-shared \