You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
729 B
19 lines
729 B
12 years ago
|
diff -up accounts-qt-1.6/common-project-config.pri.64bitarchs accounts-qt-1.6/common-project-config.pri
|
||
|
--- accounts-qt-1.6/common-project-config.pri.64bitarchs 2013-01-23 07:01:07.000000000 +0100
|
||
|
+++ accounts-qt-1.6/common-project-config.pri 2013-03-06 13:45:14.414158442 +0100
|
||
|
@@ -43,11 +43,9 @@ isEmpty( PREFIX ) {
|
||
|
}
|
||
|
|
||
|
ARCH = $$system(uname -m)
|
||
|
-contains( ARCH, x86_64 ) {
|
||
|
- INSTALL_LIBDIR = $${INSTALL_PREFIX}/lib64
|
||
|
-} else {
|
||
|
- INSTALL_LIBDIR = $${INSTALL_PREFIX}/lib
|
||
|
-}
|
||
|
+64BITARCHS= x86_64 ppc64 s390x
|
||
|
+INSTALL_LIBDIR = $${INSTALL_PREFIX}/lib
|
||
|
+for(a, 64BITARCHS):contains(ARCH, $${a}):INSTALL_LIBDIR = $${INSTALL_PREFIX}/lib64
|
||
|
|
||
|
# default library directory can be overriden by defining LIBDIR when
|
||
|
# running qmake
|