summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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'