mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-24 04:41:23 +00:00
Restore .x86 to Linux and macOS client/server executable names.
This commit is contained in:
parent
463403094a
commit
5405ce69d4
5 changed files with 17 additions and 40 deletions
|
@ -990,12 +990,14 @@ endif
|
|||
TARGETS =
|
||||
|
||||
ifndef FULLBINEXT
|
||||
# Leave .x86 off win32 binaries
|
||||
ifeq ($(ARCH),x86)
|
||||
FULLBINEXT=$(BINEXT)
|
||||
else
|
||||
FULLBINEXT=.$(ARCH)$(BINEXT)
|
||||
endif
|
||||
|
||||
# Leave .x86 off win32 binaries
|
||||
ifdef MINGW
|
||||
ifeq ($(ARCH),x86)
|
||||
FULLBINEXT=$(BINEXT)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef SHLIBNAME
|
||||
|
|
|
@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define BASETA "missionpack"
|
||||
|
||||
#ifndef PRODUCT_VERSION
|
||||
#define PRODUCT_VERSION "v0.0.1.2 r234"
|
||||
#define PRODUCT_VERSION "v0.0.1.2 r235"
|
||||
#endif
|
||||
|
||||
#ifndef PRODUCT_DATE
|
||||
|
|
|
@ -151,19 +151,11 @@ if [ $VERBOSE -eq 1 ] ; then
|
|||
# Find glibc lines, remove text before GLIBC, then sort by required glibc version
|
||||
# "sort -t _ -k 2 -V" is short form of "sort --field-separator='_' --key=2 --version-sort"
|
||||
echo
|
||||
if [ "$ARCH" = "x86" ] ; then
|
||||
echo "q3rally-server:"
|
||||
objdump -T build/release-linux-$ARCH/q3rally-server | grep GLIBC | sed -e "s/.*GLIBC_/GLIBC_/g" | sort -t _ -k 2 -V
|
||||
echo
|
||||
echo "q3rally:"
|
||||
objdump -T build/release-linux-$ARCH/q3rally | grep GLIBC | sed -e "s/.*GLIBC_/GLIBC_/g" | sort -t _ -k 2 -V
|
||||
else
|
||||
echo "q3rally-server.$ARCH:"
|
||||
objdump -T build/release-linux-$ARCH/q3rally-server.$ARCH | grep GLIBC | sed -e "s/.*GLIBC_/GLIBC_/g" | sort -t _ -k 2 -V
|
||||
echo
|
||||
echo "q3rally.$ARCH:"
|
||||
objdump -T build/release-linux-$ARCH/q3rally.$ARCH | grep GLIBC | sed -e "s/.*GLIBC_/GLIBC_/g" | sort -t _ -k 2 -V
|
||||
fi
|
||||
echo "q3rally-server.$ARCH:"
|
||||
objdump -T build/release-linux-$ARCH/q3rally-server.$ARCH | grep GLIBC | sed -e "s/.*GLIBC_/GLIBC_/g" | sort -t _ -k 2 -V
|
||||
echo
|
||||
echo "q3rally.$ARCH:"
|
||||
objdump -T build/release-linux-$ARCH/q3rally.$ARCH | grep GLIBC | sed -e "s/.*GLIBC_/GLIBC_/g" | sort -t _ -k 2 -V
|
||||
echo
|
||||
echo "renderer_opengl1_$ARCH.so:"
|
||||
objdump -T build/release-linux-$ARCH/renderer_opengl1_$ARCH.so | grep GLIBC | sed -e "s/.*GLIBC_/GLIBC_/g" | sort -t _ -k 2 -V
|
||||
|
@ -177,13 +169,8 @@ fi
|
|||
|
||||
# Find glibc lines, remove text before and including GLIBC_, remove trailing function name, sort by required glibc version, then grab the last (highest) version
|
||||
# "sort -uV" is short form of "sort --unique --version-sort"
|
||||
if [ "$ARCH" = "x86" ] ; then
|
||||
GLIBC_SERVER=$(objdump -T build/release-linux-$ARCH/q3rally-server | grep GLIBC | sed -e "s/.*GLIBC_//g" | cut -d' ' -f1 | sort -uV | tail -1)
|
||||
GLIBC_C1=$(objdump -T build/release-linux-$ARCH/q3rally | grep GLIBC | sed -e "s/.*GLIBC_//g" | cut -d' ' -f1 | sort -uV | tail -1)
|
||||
else
|
||||
GLIBC_SERVER=$(objdump -T build/release-linux-$ARCH/q3rally-server.$ARCH | grep GLIBC | sed -e "s/.*GLIBC_//g" | cut -d' ' -f1 | sort -uV | tail -1)
|
||||
GLIBC_C1=$(objdump -T build/release-linux-$ARCH/q3rally.$ARCH | grep GLIBC | sed -e "s/.*GLIBC_//g" | cut -d' ' -f1 | sort -uV | tail -1)
|
||||
fi
|
||||
GLIBC_SERVER=$(objdump -T build/release-linux-$ARCH/q3rally-server.$ARCH | grep GLIBC | sed -e "s/.*GLIBC_//g" | cut -d' ' -f1 | sort -uV | tail -1)
|
||||
GLIBC_C1=$(objdump -T build/release-linux-$ARCH/q3rally.$ARCH | grep GLIBC | sed -e "s/.*GLIBC_//g" | cut -d' ' -f1 | sort -uV | tail -1)
|
||||
GLIBC_C2=$(objdump -T build/release-linux-$ARCH/renderer_opengl1_$ARCH.so | grep GLIBC | sed -e "s/.*GLIBC_//g" | cut -d' ' -f1 | sort -uV | tail -1)
|
||||
GLIBC_C3=$(objdump -T build/release-linux-$ARCH/renderer_opengl2_$ARCH.so | grep GLIBC | sed -e "s/.*GLIBC_//g" | cut -d' ' -f1 | sort -uV | tail -1)
|
||||
GLIBC_C4=$(objdump -T build/release-linux-$ARCH/lib/$ARCH/libSDL2-2.0.so.0 | grep GLIBC | sed -e "s/.*GLIBC_//g" | cut -d' ' -f1 | sort -uV | tail -1)
|
||||
|
|
|
@ -5,13 +5,7 @@ PLATFORM=`uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]'|sed -e 's/\//_/g'`
|
|||
ARCH=`uname -m | sed -e s/i.86/x86/`
|
||||
BUILD=debug
|
||||
|
||||
if [ $ARCH = "x86" ]; then
|
||||
FULLBINEXT=
|
||||
else
|
||||
FULLBINEXT=.$ARCH
|
||||
fi
|
||||
|
||||
BIN=engine/build/$BUILD-$PLATFORM-$ARCH/q3rally$FULLBINEXT
|
||||
BIN=engine/build/$BUILD-$PLATFORM-$ARCH/q3rally.$ARCH
|
||||
|
||||
if [ ! -f $BIN ]; then
|
||||
echo "Game binary '$BIN' not found, building it..."
|
||||
|
|
8
run.sh
8
run.sh
|
@ -5,13 +5,7 @@ PLATFORM=`uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]'|sed -e 's/\//_/g'`
|
|||
ARCH=`uname -m | sed -e s/i.86/x86/`
|
||||
BUILD=release
|
||||
|
||||
if [ $ARCH = "x86" ]; then
|
||||
FULLBINEXT=
|
||||
else
|
||||
FULLBINEXT=.$ARCH
|
||||
fi
|
||||
|
||||
BIN=engine/build/$BUILD-$PLATFORM-$ARCH/q3rally$FULLBINEXT
|
||||
BIN=engine/build/$BUILD-$PLATFORM-$ARCH/q3rally.$ARCH
|
||||
|
||||
if [ ! -f $BIN ]; then
|
||||
echo "Game binary '$BIN' not found, building it..."
|
||||
|
|
Loading…
Reference in a new issue