mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
add support linux x86 build
This commit is contained in:
@ -74,12 +74,29 @@ SOURCES += \
|
||||
RESOURCES += $$PWD/resources.qrc
|
||||
|
||||
linux-g++ {
|
||||
contains(QMAKE_HOST.arch, x86_64):{
|
||||
PLATFORM_BUILD = linux_64
|
||||
} else {
|
||||
PLATFORM_BUILD = linux_32
|
||||
}
|
||||
CONFIG += app_linux
|
||||
linux-g++:contains(QMAKE_HOST.arch, x86_64): {
|
||||
CONFIG += app_linux_64
|
||||
PLATFORM_BUILD = linux_64
|
||||
}
|
||||
linux-g++:!contains(QMAKE_HOST.arch, x86_64): {
|
||||
CONFIG += app_linux_32
|
||||
PLATFORM_BUILD = linux_32
|
||||
}
|
||||
}
|
||||
|
||||
linux-g++-64 {
|
||||
CONFIG += app_linux
|
||||
CONFIG += app_linux_64
|
||||
PLATFORM_BUILD = linux_64
|
||||
}
|
||||
linux-g++-32 {
|
||||
CONFIG += app_linux
|
||||
CONFIG += app_linux_32
|
||||
PLATFORM_BUILD = linux_32
|
||||
}
|
||||
|
||||
app_linux {
|
||||
QT += network x11extras
|
||||
|
||||
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'"
|
||||
|
||||
Reference in New Issue
Block a user