Skip to content
Snippets Groups Projects
Commit 09c7f93e authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Christian Kandeler
Browse files

Fix qbs build


Change-Id: I73bed3284d491338359c730375c2b81d947dd5a4
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent e0a7c985
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ CONFIG += exceptions
DEPENDPATH += .
DEFINES += BOTAN_DLL="\"\""
DEFINES += BOTAN_DLL=
unix:DEFINES += BOTAN_TARGET_OS_HAS_GETTIMEOFDAY BOTAN_HAS_ALLOC_MMAP \
BOTAN_HAS_ENTROPY_SRC_DEV_RANDOM BOTAN_HAS_ENTROPY_SRC_EGD BOTAN_HAS_ENTROPY_SRC_FTW \
BOTAN_HAS_ENTROPY_SRC_UNIX BOTAN_HAS_MUTEX_PTHREAD BOTAN_HAS_PIPE_UNIXFD_IO
......
......@@ -51,7 +51,7 @@ QtcLibrary {
property var botanIncludes: ["../3rdparty"]
property var botanLibs: qbs.targetOS === "windows" ? ["advapi32", "user32"] : ["rt", "dl"]
property var botanDefines: {
var result = ['BOTAN_DLL=""']
var result = ['BOTAN_DLL=']
if (qbs.toolchain === "msvc")
result.push("BOTAN_BUILD_COMPILER_IS_MSVC", "BOTAN_TARGET_OS_HAS_GMTIME_S")
if (qbs.toolchain === "gcc" || qbs.toolchain === "mingw")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment