mirror of https://github.com/PCSX2/pcsx2.git
add automatic archlinux build detection(wx path can not be found otherwise)
This commit is contained in:
parent
ec1da2805c
commit
4991ef608d
6
build.sh
6
build.sh
|
@ -16,7 +16,13 @@
|
|||
|
||||
#set -e # This terminates the script in case of any error
|
||||
|
||||
arch64Build=$(uname -a | grep ARCH)
|
||||
if [[ -e "arch64Build" ]]; then
|
||||
#add flags for archlinux
|
||||
flags=(-DCMAKE_BUILD_PO=FALSE -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config32-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc32-2.8')
|
||||
else
|
||||
flags=(-DCMAKE_BUILD_PO=FALSE)
|
||||
fi
|
||||
cleanBuild=0
|
||||
useClang=0
|
||||
|
||||
|
|
Loading…
Reference in New Issue