summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-01-16 21:33:50 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-01-16 21:33:50 (GMT)
commit34ccfb801d4a5a4f3c16b814ec4210144590e2fa (patch)
tree3a702d6730f94a0cafc65431c66d186b93ca6268 /src
parentc4d75e7e77cb98765fbf1ee5ebdac2535509f856 (diff)
downloadmxe-34ccfb801d4a5a4f3c16b814ec4210144590e2fa.zip
mxe-34ccfb801d4a5a4f3c16b814ec4210144590e2fa.tar.gz
mxe-34ccfb801d4a5a4f3c16b814ec4210144590e2fa.tar.bz2
corrected dependency library flags for packages cairo and gtk (by Zdenek Hutyra)
Diffstat (limited to 'src')
-rw-r--r--src/cairo.mk2
-rw-r--r--src/gtk.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo.mk b/src/cairo.mk
index 1a90eaa..5796bee 100644
--- a/src/cairo.mk
+++ b/src/cairo.mk
@@ -65,6 +65,6 @@ define $(PKG)_BUILD
--enable-pdf \
--enable-svg \
--disable-pthread \
- LIBS="-lmsimg32 `$(TARGET)-pkg-config pixman-1 --libs`"
+ LIBS="-lmsimg32 -lgdi32 `$(TARGET)-pkg-config pixman-1 --libs`"
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef
diff --git a/src/gtk.mk b/src/gtk.mk
index 5077a21..818da42 100644
--- a/src/gtk.mk
+++ b/src/gtk.mk
@@ -50,7 +50,7 @@ define $(PKG)_BUILD
$(SED) 's,"[^"]*must build as DLL[^"]*","(disabled warning)",' -i '$(1)/configure'
$(SED) 's,enable_static=no,enable_static=yes,' -i '$(1)/configure'
$(SED) 's,enable_shared=yes,enable_shared=no,' -i '$(1)/configure'
- $(SED) 's,\(STATIC_LIB_DEPS="[^"]*\) \$$LIBJPEG,\1 $$LIBJASPER $$LIBJPEG,' -i '$(1)/configure'
+ $(SED) 's,\(STATIC_LIB_DEPS="[^"]*\) \$$LIBJASPER,\1 $$LIBJASPER $$LIBJPEG,' -i '$(1)/configure'
$(SED) 's/-Wl,-luuid/-luuid/' -i '$(1)/configure'
# wine confuses the cross-compiling detection, so set it explicitly
$(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'