Commit 653adff6 authored by Caspar Schutijser's avatar Caspar Schutijser
Browse files

No need for -lrt and -ldl on OpenBSD



Change-Id: I33b29016daa950ab88632ffbc5cf54dde4c6eafa
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
parent 03e5392a
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment