mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Fixed adding EXEEXT at the end of the application name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@13244 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8e08ef8843
commit
fe5f087099
1 changed files with 3 additions and 6 deletions
|
@ -77,10 +77,6 @@ fi
|
|||
# Remove leading slashes at the end of the application name
|
||||
app=`echo $app | sed 's%/*$%%'`
|
||||
|
||||
if [ -n "$EXEEXT" ]; then
|
||||
app=$app$EXEEXT
|
||||
fi
|
||||
|
||||
case $app in
|
||||
/*) # An absolute path.
|
||||
full_appname=$app;;
|
||||
|
@ -159,6 +155,7 @@ fi
|
|||
|
||||
appname=`echo $app | sed 's/\.[a-z]*$//'`
|
||||
appname=`basename $appname`
|
||||
appname="$appname$EXEEXT"
|
||||
. $GNUSTEP_SYSTEM_ROOT/Makefiles/ld_lib_path.sh
|
||||
|
||||
|
||||
|
@ -184,9 +181,9 @@ else
|
|||
fi
|
||||
|
||||
if [ -z "$GNUSTEP_FLATTENED" ]; then
|
||||
file_appname=$full_appname/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/$appname
|
||||
file_appname="$full_appname/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/$appname"
|
||||
else
|
||||
file_appname=$full_appname/$appname
|
||||
file_appname="$full_appname/$appname"
|
||||
fi
|
||||
|
||||
#Support for GDBbundle under OPENSTEP
|
||||
|
|
Loading…
Reference in a new issue