summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-03-05 14:20:14 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-03-05 14:20:14 (GMT)
commit0f005eb7246bc3126d1728fea95cd0ff06ddae19 (patch)
treeb22846d575d6bf35ea362c24be74c1963da763b9
parent5deaef6eb049ac8dc306e17153977751863aa069 (diff)
downloadmxe-0f005eb7246bc3126d1728fea95cd0ff06ddae19.zip
mxe-0f005eb7246bc3126d1728fea95cd0ff06ddae19.tar.gz
mxe-0f005eb7246bc3126d1728fea95cd0ff06ddae19.tar.bz2
improved build rules for package wxwidgets
-rw-r--r--src/wxwidgets.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/wxwidgets.mk b/src/wxwidgets.mk
index fdeef34..3209f78 100644
--- a/src/wxwidgets.mk
+++ b/src/wxwidgets.mk
@@ -16,13 +16,18 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ $(SED) 's,wx_cv_cflags_mthread=yes,wx_cv_cflags_mthread=no,' -i '$(1)/configure'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
--enable-compat24 \
+ --enable-compat26 \
+ --enable-gui \
--enable-stl \
+ --enable-threads \
--enable-unicode \
+ --disable-universal \
--with-themes=all \
--with-msw \
--with-opengl \
@@ -40,10 +45,7 @@ define $(PKG)_BUILD
--without-cocoa \
--without-wine \
--without-pm \
- --without-mgl \
- --without-directfb \
--without-microwin \
- --without-x11 \
--without-libxpm \
--without-libmspack \
--without-gnomeprint \
@@ -55,5 +57,6 @@ define $(PKG)_BUILD
CXXFLAGS="-I$(PREFIX)/$(TARGET)/include/tre" \
LIBS=" `$(TARGET)-pkg-config tre --libs`"
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
- $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+ $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= __install_wxrc___depname=
+ install -m755 '$(PREFIX)/$(TARGET)/bin/wx-config' '$(PREFIX)/bin/$(TARGET)-wx-config'
endef