allow QT location to be set with an environment variable

variable for libQt5XmlPatterns path

QTXML_DIR is same relative path on some systems, use that as default

use utils.sh for platform default paths

fix dumb copypasta
This commit is contained in:
pigeons
2017-01-16 11:58:17 -08:00
parent 7f8d4ac3d2
commit 4eedef048d
2 changed files with 28 additions and 4 deletions

View File

@@ -10,7 +10,11 @@ function get_platform {
platform="linux64"
elif [ "$(expr substr $(uname -m) 1 4)" == "i686" ]; then
platform="linux32"
else
elif [ "$(expr substr $(uname -m) 1 6)" == "armv7l" ]; then
platform="linuxarmv7"
elif [ "$(expr substr $(uname -m) 1 7)" == "aarch64" ]; then
platform="linuxarmv8"
else
platform="linux"
fi
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then