From 5a7f80c466834d003d9588ad3d25334ecf558501 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 19 Dec 2016 14:35:08 +0000 Subject: When targetting MacOS+X11, fltk-config should not bundle the executable. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fltk-config.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/fltk-config.in b/fltk-config.in index a85c9a6cb..d82731500 100755 --- a/fltk-config.in +++ b/fltk-config.in @@ -291,7 +291,14 @@ if test -n "$compile"; then fi if test -n "$post"; then - case "`uname`" in + running=`uname` + if test "$running" = "Darwin"; then + # if FLTK targets MacOS+X11, apps need not be bundled + if test `echo $LDLIBS | fgrep -c -e " -lX11"` = 1; then + running="" + fi + fi + case $running in Darwin) echo Creating "'$post.app'" bundle for desktop... id=`echo $post | tr ' ' '_'` -- cgit v1.2.3