mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 10:36:30 +03:00
ecode: Tentative fix for a segfaul when accesing an LSP Server that isn't running anymore.
24 lines
364 B
Bash
Executable File
24 lines
364 B
Bash
Executable File
#!/bin/bash
|
|
cd "$(dirname "$0")" || exit
|
|
|
|
ARCH=32
|
|
for i in "$@"; do
|
|
case $i in
|
|
config=*)
|
|
CONFIG="${i#*=}"
|
|
shift
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
done
|
|
|
|
if [[ "$CONFIG" == *"x86_64"* ]]; then
|
|
ARCH=64
|
|
fi
|
|
|
|
premake5 --file=../../premake5.lua --os=windows --cc=mingw --windows-mingw-build gmake2
|
|
cd ../../make/windows/ || exit
|
|
|
|
mingw"$ARCH"-make "$@"
|