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
|
||||
|
||||
# Set "make install" command for Unix-like systems.
|
||||
unix{
|
||||
unix:!macx{
|
||||
isEmpty(PREFIX){
|
||||
contains(QMAKE_HOST.arch, x86_64) {
|
||||
PREFIX = $$DEFAULT_PREFIX/lib64
|
||||
} else {
|
||||
PREFIX = $$DEFAULT_PREFIX/lib
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unix:!macx{
|
||||
target.path = $$PREFIX/lib
|
||||
target.path = $$PREFIX
|
||||
INSTALLS += target
|
||||
}
|
||||
|
||||
|
|
|
@ -102,14 +102,16 @@ HEADERS +=\
|
|||
stable.h
|
||||
|
||||
# Set "make install" command for Unix-like systems.
|
||||
unix{
|
||||
unix:!macx{
|
||||
isEmpty(PREFIX){
|
||||
contains(QMAKE_HOST.arch, x86_64) {
|
||||
PREFIX = $$DEFAULT_PREFIX/lib64
|
||||
} else {
|
||||
PREFIX = $$DEFAULT_PREFIX/lib
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unix:!macx{
|
||||
target.path = $$PREFIX/lib
|
||||
target.path = $$PREFIX
|
||||
INSTALLS += target
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user