summaryrefslogtreecommitdiff
path: root/x11-libs/cairo/files/cairo-1.8.8-interix.patch
blob: dc20714ae26b2ac180e22cb2adcfa2734e560200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -ru cairo-1.8.8.orig/build/configure.ac.tools cairo-1.8.8/build/configure.ac.tools
--- cairo-1.8.8.orig/build/configure.ac.tools	2009-09-30 13:36:42 +0200
+++ cairo-1.8.8/build/configure.ac.tools	2009-09-30 13:50:50 +0200
@@ -21,5 +21,12 @@
 *) PKGCONFIG_REQUIRES="Requires.private"; ;;
 esac
 
+dnl hmm... on interix, things go really bad with Requires.private, since libpng12
+dnl is missing on the final link commands, so gtk+'s configure checks for cairo
+dnl fail miserably with unresolved symbols to it.
+case "$host_os" in
+interix*) PKGCONFIG_REQUIRES="Requires" ;;
+esac
+
 AC_SUBST(PKGCONFIG_REQUIRES)