[Pkg-owncloud-commits] [qtkeychain] 23/115: win: fix undefined reference to RtlSecureZeroMemory in MinGW

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Mar 15 19:25:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository qtkeychain.

commit 4141a71e17c498654450aeda9ede104118b8647b
Author: Dominik Schmidt <dev at dominik-schmidt.de>
Date:   Wed May 2 02:56:47 2012 +0200

    win: fix undefined reference to RtlSecureZeroMemory in MinGW
---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index faf571c..8a0adfe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,8 @@ set(qtkeychain_SOURCES
 if(WIN32)
     list(APPEND qtkeychain_SOURCES keychain_win.cpp)
     list(APPEND qtkeychain_LIBRARIES crypt32)
+    #FIXME: only needed on mingw? otherwise getting undefined refs to RtlSecureZeroMemory there
+    add_definitions( -O2 )
 endif()
 
 if(APPLE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/qtkeychain.git



More information about the Pkg-owncloud-commits mailing list