if CRYPTOKI_EXPORTS is not defined don't add __declspec
this messes up the windows build since we're already using libtool for the exports.
This commit is contained in:
+7
-1
@@ -86,7 +86,13 @@ extern "C" {
|
||||
#ifdef CRYPTOKI_EXPORTS
|
||||
#define CK_SPEC __declspec(dllexport)
|
||||
#else
|
||||
#define CK_SPEC __declspec(dllimport)
|
||||
/*
|
||||
* Yubico: we're using libtool to declare exports, this
|
||||
* messes up the build.
|
||||
*
|
||||
* #define CK_SPEC __declspec(dllimport)
|
||||
*/
|
||||
#define CK_SPEC
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user