projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ffbbe6f
)
mac: only use gtk compile flag, if osxapp is enabled
author
Arun Persaud
<arun@nubati.net>
Wed, 22 Oct 2014 03:37:41 +0000 (20:37 -0700)
committer
Arun Persaud
<arun@nubati.net>
Wed, 22 Oct 2014 04:31:10 +0000 (21:31 -0700)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
421f39b
..
c0058e0
100644
(file)
--- 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