summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-03-27 20:52:59 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-03-27 20:52:59 (GMT)
commitcbe9310303ba00085b1c7b74b19c2abbc8dec179 (patch)
treed3937ddff6f3c4e06b70f1311aea683f6e640e0d /src
parente19519dcd21a755dc23d12fdc0d056b8840d3bc6 (diff)
parent4c585fb6c58ff452de99d269d6cdac2b0aad194b (diff)
downloadmxe-cbe9310303ba00085b1c7b74b19c2abbc8dec179.zip
mxe-cbe9310303ba00085b1c7b74b19c2abbc8dec179.tar.gz
mxe-cbe9310303ba00085b1c7b74b19c2abbc8dec179.tar.bz2
Merge branch 'master' of https://github.com/ilhooq/mxe into ilhooq-master
Diffstat (limited to 'src')
-rw-r--r--src/gtk3-1-fixes.patch27
-rw-r--r--src/gtk3.mk6
2 files changed, 1 insertions, 32 deletions
diff --git a/src/gtk3-1-fixes.patch b/src/gtk3-1-fixes.patch
index 15976b3..8844b78 100644
--- a/src/gtk3-1-fixes.patch
+++ b/src/gtk3-1-fixes.patch
@@ -7,33 +7,6 @@ From: Boris Nagaev <bnagaev@gmail.com>
Date: Sun, 29 Jan 2017 21:47:39 +0100
Subject: [PATCH] These were adapted from the gtk2 patchset.
-
-diff --git a/configure b/configure
-index 1111111..2222222 100755
---- a/configure
-+++ b/configure
-@@ -9378,15 +9378,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- if test "$os_win32" = "yes"; then
- if test x$enable_static = xyes -o x$enable_static = x; then
-- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5
--$as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
-- enable_static=no
-+ { $as_echo "(disabled warning)" >&5
-+$as_echo "(disabled warning)" >&2;}
-+ enable_static=yes
- fi
- if test x$enable_shared = xno; then
-- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
--$as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
-+ { $as_echo "(disabled warning)" >&5
-+$as_echo "(disabled warning)" >&2;}
- fi
-- enable_shared=yes
-+ enable_shared=no
- fi
-
-
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c
index 1111111..2222222 100644
--- a/gdk/win32/gdkmain-win32.c
diff --git a/src/gtk3.mk b/src/gtk3.mk
index 6b4c0dd..49ca20e 100644
--- a/src/gtk3.mk
+++ b/src/gtk3.mk
@@ -22,15 +22,13 @@ endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
- --enable-explicit-deps \
--disable-glibtest \
- --disable-modules \
--disable-cups \
--disable-test-print-backend \
--disable-gtk-doc \
--disable-man \
--with-included-immodules \
- --without-x
+ --enable-win32-backend
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
'$(TARGET)-gcc' \
@@ -38,5 +36,3 @@ define $(PKG)_BUILD
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtk3.exe' \
`'$(TARGET)-pkg-config' gtk+-3.0 --cflags --libs`
endef
-
-$(PKG)_BUILD_SHARED =