summaryrefslogtreecommitdiffstats
path: root/helper/system.inc
diff options
context:
space:
mode:
authorSimon Rettberg2013-06-04 16:21:17 +0200
committerSimon Rettberg2013-06-04 16:21:17 +0200
commit60d5f82fca5ceb727cac9129da2b31f1389b6f05 (patch)
tree7726a00f572d12d14b6ee090e991844baeecfa08 /helper/system.inc
parentFix Simon's stupid bugs in vmplayer and policykit! (diff)
downloadtm-scripts-60d5f82fca5ceb727cac9129da2b31f1389b6f05.tar.gz
tm-scripts-60d5f82fca5ceb727cac9129da2b31f1389b6f05.tar.xz
tm-scripts-60d5f82fca5ceb727cac9129da2b31f1389b6f05.zip
Add LIB64 var that will be set to lib64 on 64bit or lib on 32bit
Diffstat (limited to 'helper/system.inc')
-rw-r--r--helper/system.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/helper/system.inc b/helper/system.inc
index 0cfcfbc6..c37368cb 100644
--- a/helper/system.inc
+++ b/helper/system.inc
@@ -18,3 +18,11 @@ KERNEL_VERSION=$(uname -r)
# determine number of CPU cores
CPU_CORES=$(cat /proc/cpuinfo | grep processor | wc -l)
export MAKEFLAGS="-j$CPU_CORES"
+
+# Determine if we have lib64
+if [ "$(uname -m)x" = "x86_64x" ]; then
+ LIB64="lib64"
+else
+ LIB64="lib"
+fi
+