mirror of https://github.com/PCSX2/pcsx2.git
More robust detection of arch64(or any distrib using same path for wxwidget)
This commit is contained in:
parent
06f53b2689
commit
30240b4cbf
3
build.sh
3
build.sh
|
@ -16,8 +16,7 @@
|
|||
|
||||
#set -e # This terminates the script in case of any error
|
||||
|
||||
arch64Build=$(uname -a | grep ARCH | grep x86_64)
|
||||
if [[ -e "arch64Build" ]]; then
|
||||
if [[ (-f /usr/bin/wx-config32-2.8 && -f /usr/bin/wxrc32-2.8) ]]; 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
|
||||
|
|
Loading…
Reference in New Issue