[cogl] quartz-image: Pass -framework ApplicationServices in the linker flags
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] quartz-image: Pass -framework ApplicationServices in the linker flags
- Date: Thu, 4 Apr 2013 15:30:39 +0000 (UTC)
commit 54d9139a929560d6703428371b38b83e7d965f45
Author: Neil Roberts <neil linux intel com>
Date: Thu Mar 28 14:03:31 2013 +0000
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>
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e7bf1f2..0d10ff1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -498,6 +498,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"
],
[
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]