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
...@@ -6,7 +6,7 @@ CONFIG += exceptions ...@@ -6,7 +6,7 @@ CONFIG += exceptions
DEPENDPATH += . DEPENDPATH += .
DEFINES += BOTAN_DLL="\"\"" DEFINES += BOTAN_DLL=
unix:DEFINES += BOTAN_TARGET_OS_HAS_GETTIMEOFDAY BOTAN_HAS_ALLOC_MMAP \ 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_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 BOTAN_HAS_ENTROPY_SRC_UNIX BOTAN_HAS_MUTEX_PTHREAD BOTAN_HAS_PIPE_UNIXFD_IO
......
...@@ -51,7 +51,7 @@ QtcLibrary { ...@@ -51,7 +51,7 @@ QtcLibrary {
property var botanIncludes: ["../3rdparty"] property var botanIncludes: ["../3rdparty"]
property var botanLibs: qbs.targetOS === "windows" ? ["advapi32", "user32"] : ["rt", "dl"] property var botanLibs: qbs.targetOS === "windows" ? ["advapi32", "user32"] : ["rt", "dl"]
property var botanDefines: { property var botanDefines: {
var result = ['BOTAN_DLL=""'] var result = ['BOTAN_DLL=']
if (qbs.toolchain === "msvc") if (qbs.toolchain === "msvc")
result.push("BOTAN_BUILD_COMPILER_IS_MSVC", "BOTAN_TARGET_OS_HAS_GMTIME_S") result.push("BOTAN_BUILD_COMPILER_IS_MSVC", "BOTAN_TARGET_OS_HAS_GMTIME_S")
if (qbs.toolchain === "gcc" || qbs.toolchain === "mingw") if (qbs.toolchain === "gcc" || qbs.toolchain === "mingw")
......
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