forked from qt-creator/qt-creator
Don't link against libdl on any bsd
Task-number: QTCREATORBUG-15898 Change-Id: I5953700dfa58aa12c7c43a0e370c23fe569b2d10 Reviewed-by: Ralf Nolden <nolden@kde.org> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -6,7 +6,7 @@ contains(CONFIG, dll) {
|
||||
|
||||
INCLUDEPATH += $$PWD
|
||||
|
||||
unix:!openbsd: LIBS += -ldl
|
||||
unix:!bsd: 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") && !qbs.targetOS.contains("openbsd"))
|
||||
cpp.dynamicLibraries: base.concat((qbs.targetOS.contains("unix") && !qbs.targetOS.contains("bsd"))
|
||||
? ["dl", "pthread"] : [])
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user