Fixes --with-system-premake5, fixes #6710, refs 782a77f106
.
Based on fix by sera, tested on Manjaro 22. This was SVN commit r27555.
This commit is contained in:
parent
4355c8675b
commit
c05a6e81aa
@ -104,10 +104,12 @@ fi
|
||||
|
||||
# Now run premake to create the makefiles
|
||||
|
||||
cd ../premake
|
||||
premake_command="premake5"
|
||||
|
||||
if [ "$with_system_premake5" = "false" ]; then
|
||||
# Build bundled premake
|
||||
cd ../premake/premake5
|
||||
cd premake5
|
||||
PREMAKE_BUILD_DIR=build/gmake2.unix
|
||||
# BSD and OS X need different Makefiles
|
||||
case "`uname -s`" in
|
||||
@ -123,13 +125,12 @@ if [ "$with_system_premake5" = "false" ]; then
|
||||
esac
|
||||
${MAKE} -C $PREMAKE_BUILD_DIR ${JOBS} || die "Premake build failed"
|
||||
|
||||
cd ..
|
||||
premake_command="premake5/bin/release/premake5"
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
cd ..
|
||||
|
||||
# If we're in bash then make HOSTTYPE available to Premake, for primitive arch-detection
|
||||
export HOSTTYPE="$HOSTTYPE"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user