Mac: Add -framework Cocoa to GTK_MAC_LIBS

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22938 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2013-05-02 21:01:30 +00:00
parent d14662fe32
commit 4cf7b1f045

View File

@ -309,7 +309,7 @@ update to latest darwin])
PKG_CHECK_MODULES([GTK_MAC], gtk-mac-integration,
[_gtk_mac=yes], [_gtk_mac=no])
if test "x$_gtk_mac" = xyes; then
GTK_MAC_LIBS="${GTK_MAC_LIBS} -lobjc"
GTK_MAC_LIBS="${GTK_MAC_LIBS} -lobjc -framework Cocoa"
GTK_MAC_CFLAGS="${GTK_MAC_CFLAGS} -xobjective-c"
fi
AC_MSG_RESULT(${_gtk_mac})