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
This commit is contained in:
parent
936486cb1c
commit
5a7f80c466
@ -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 ' ' '_'`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user