From 0cb9a18963fda61c6c0acf466e2b71670e9cfc3c Mon Sep 17 00:00:00 2001 From: sth Date: Fri, 27 Jun 2003 12:32:57 +0000 Subject: [PATCH] Some Windows fixes git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1233 c6295689-39f2-0310-b995-f0e70906c6a9 --- README.Win32 | 3 +++ src/Makefile.mak | 2 +- src/include/winconfig.h | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.Win32 b/README.Win32 index 74b952a2..f31f4115 100644 --- a/README.Win32 +++ b/README.Win32 @@ -68,6 +68,9 @@ pkcs11 signature mechs. - In win32/Make.rules.mak - Add /DHAVE_OPENSSL to the "COPTS" line +- For the pkcs11 OpenSSL engine + - Add sslengines to the "SUBDIRS" line in opensc/src/Makefile.mak + To add the OpenSSL code to the DLLs (so you won't need libeay32.dll anymore): statically compile OpenSSL and add gdi32.lib next to libeay32.lib in the 3 Makefile.mak files above. diff --git a/src/Makefile.mak b/src/Makefile.mak index a0b8638d..6467eca1 100644 --- a/src/Makefile.mak +++ b/src/Makefile.mak @@ -1,5 +1,5 @@ -SUBDIRS = include common scconf libopensc tests scrandom pkcs15init pkcs11 tools sslengines +SUBDIRS = include common scconf libopensc tests scrandom pkcs15init pkcs11 tools all:: diff --git a/src/include/winconfig.h b/src/include/winconfig.h index 882ccbba..e8af395c 100644 --- a/src/include/winconfig.h +++ b/src/include/winconfig.h @@ -1,3 +1,7 @@ +#ifdef _WIN32 +#include +#endif + #ifndef _OPENSC_WINCONFIG_H #define _OPENSC_WINCONFIG_H