Broken 'sudo make install' on Linux.
--HG-- branch : develop
This commit is contained in:
parent
1e2cd9acf0
commit
163295f0f5
|
@ -60,14 +60,16 @@ HEADERS += \
|
||||||
VERSION = 2.2.4
|
VERSION = 2.2.4
|
||||||
|
|
||||||
# Set "make install" command for Unix-like systems.
|
# Set "make install" command for Unix-like systems.
|
||||||
unix{
|
unix:!macx{
|
||||||
isEmpty(PREFIX){
|
isEmpty(PREFIX){
|
||||||
|
contains(QMAKE_HOST.arch, x86_64) {
|
||||||
|
PREFIX = $$DEFAULT_PREFIX/lib64
|
||||||
|
} else {
|
||||||
PREFIX = $$DEFAULT_PREFIX/lib
|
PREFIX = $$DEFAULT_PREFIX/lib
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unix:!macx{
|
target.path = $$PREFIX
|
||||||
target.path = $$PREFIX/lib
|
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -102,14 +102,16 @@ HEADERS +=\
|
||||||
stable.h
|
stable.h
|
||||||
|
|
||||||
# Set "make install" command for Unix-like systems.
|
# Set "make install" command for Unix-like systems.
|
||||||
unix{
|
unix:!macx{
|
||||||
isEmpty(PREFIX){
|
isEmpty(PREFIX){
|
||||||
|
contains(QMAKE_HOST.arch, x86_64) {
|
||||||
|
PREFIX = $$DEFAULT_PREFIX/lib64
|
||||||
|
} else {
|
||||||
PREFIX = $$DEFAULT_PREFIX/lib
|
PREFIX = $$DEFAULT_PREFIX/lib
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unix:!macx{
|
target.path = $$PREFIX
|
||||||
target.path = $$PREFIX/lib
|
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user