commit aa007cbe8b76d4726ce37b03e407bcdd5639bb54
parent 53a73a3e64d8ca22154c0b09823b86f3fde03a46
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Wed, 20 Apr 2011 16:47:11 +0800
osx: Fix linking to framework libraries
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -32,6 +32,7 @@ _gdk_tgt=`$PKG_CONFIG --variable=target gdk-2.0`
AM_CONDITIONAL([GDK_TARGET_QUARTZ], [test x$_gdk_tgt = xquartz])
if test "x$_gdk_tgt" = xquartz; then
PKG_CHECK_MODULES(IGE_MAC, ige-mac-integration)
+ IGE_MAC_LIBS="$IGE_MAC_LIBS -framework CoreFoundation -framework ApplicationServices"
AC_SUBST(IGE_MAC_LIBS)
AC_SUBST(IGE_MAC_CFLAGS)
AC_DEFINE(G_OS_DARWIN, 1, [Platform detection macro missing in GLib])