More robust detection of arch64(or any distrib using same path for wxwidget)

This commit is contained in:
3kinox 2014-11-11 15:39:42 +01:00
parent 06f53b2689
commit 30240b4cbf
1 changed files with 1 additions and 2 deletions

View File

@ -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