summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2013-03-28 14:03:31 +0000
committerNeil Roberts <neil@linux.intel.com>2013-04-04 13:37:51 +0100
commit3ba03feb7da8e277dcdf53e8d01e12239d6dcf7c (patch)
tree0904ac0d4fe7eff2c69ab07b48014914392d0837
parenta1952a25ad44d0228169b66c0cafbfba48f0b8c6 (diff)
downloadcogl-3ba03feb7da8e277dcdf53e8d01e12239d6dcf7c.tar.gz
quartz-image: Pass -framework ApplicationServices in the linker flags
The quartz image backend is using functions from the ApplicationServices framework and I was getting linker errors if I didn't use this option. I'm not sure how anyone managed to build it before without this. https://bugzilla.gnome.org/show_bug.cgi?id=696730 Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 54d9139a929560d6703428371b38b83e7d965f45)
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ef65ae49..3e9742b4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -474,6 +474,7 @@ AS_IF(
EXPERIMENTAL_OPTIONS="$EXPERIMENTAL_OPTIONS Quartz Core Graphics,"
AC_DEFINE([USE_QUARTZ], 1,
[Use Core Graphics (Quartz) for loading image data])
+ COGL_EXTRA_LDFLAGS="$COGL_EXTRA_LDFLAGS -framework ApplicationServices"
COGL_IMAGE_BACKEND="quartz"
],
[