forked from qt-creator/qt-creator
No need for -lrt and -ldl on OpenBSD
Change-Id: I33b29016daa950ab88632ffbc5cf54dde4c6eafa Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
@@ -24,7 +24,7 @@ DEFINES -= QT_NO_CAST_FROM_ASCII
|
||||
|
||||
DISTFILES += Info.plist
|
||||
|
||||
unix:!osx:LIBS += -lrt # posix shared memory
|
||||
unix:!openbsd:!osx: LIBS += -lrt # posix shared memory
|
||||
|
||||
osx {
|
||||
CONFIG -= app_bundle
|
||||
|
||||
@@ -6,7 +6,7 @@ contains(CONFIG, dll) {
|
||||
|
||||
INCLUDEPATH += $$PWD
|
||||
|
||||
unix:LIBS += -ldl
|
||||
unix:!openbsd: LIBS += -ldl
|
||||
|
||||
include(../3rdparty/sqlite/sqlite.pri)
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ QtcLibrary {
|
||||
"SQLITE_ENABLE_COLUMN_METADATA"
|
||||
])
|
||||
cpp.optimization: "fast"
|
||||
cpp.dynamicLibraries: base.concat(qbs.targetOS.contains("unix") ? ["dl"] : [])
|
||||
cpp.dynamicLibraries: base.concat((qbs.targetOS.contains("unix") && !qbs.targetOS.contains("openbsd")) ? ["dl"] : [])
|
||||
|
||||
|
||||
Group {
|
||||
|
||||
@@ -4,7 +4,7 @@ CONFIG += exceptions
|
||||
|
||||
INCLUDEPATH += $$PWD
|
||||
|
||||
unix:!osx:LIBS += -lrt # posix shared memory
|
||||
unix:!openbsd:!osx: LIBS += -lrt # posix shared memory
|
||||
|
||||
include(../../qtcreatorplugin.pri)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user