From 59238430e1f2b02188a347078dc28ba71b4b14c1 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Tue, 21 Oct 2014 20:37:41 -0700 Subject: [PATCH] mac: only use gtk compile flag, if osxapp is enabled --- configure.ac | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 421f39b..c0058e0 100644 --- a/configure.ac +++ b/configure.ac @@ -474,7 +474,10 @@ dnl| add some libs for OS X MACOSX_VERSION=`$SW_VERS -productVersion` AC_MSG_RESULT([$MACOSX_VERSION]) fi - FRONTEND_LIBS="$FRONTEND_LIBS -lgtkmacintegration -headerpad_max_install_names " + FRONTEND_LIBS="$FRONTEND_LIBS -headerpad_max_install_names " + if test x"$enable_OSXAPP" = x"yes" ; then + FRONTEND_LIBS="$FRONTEND_LIBS -lgtkmacintegration" + fi FRONTEND_CFLAGS="$FRONTEND_CFLAGS -I/opt/local/include -L/opt/local/lib" ;; esac -- 1.7.0.4