From d45c5e909d7e1288c2fd07673a9ecccd95e1af56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 2 Apr 2014 08:49:21 +0000 Subject: [PATCH] fix winscard-link on mingw; refs #28 --- src/makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/makefile.am b/src/makefile.am index 7f36cd7..12b7a18 100644 --- a/src/makefile.am +++ b/src/makefile.am @@ -12,7 +12,9 @@ include_HEADERS = pcsc.hxx cryptoki.hxx openssl.hxx cryptaux.hxx \ noinst_HEADERS = cardgui.hxx cardgui-model.hxx -if !MINGW32 +if MINGW32 +AM_LDFLAGS += /opt/local/i586-mingw32msvc/lib/winscard.a -leay32 +else if MAC AM_CPPFLAGS += -I/opt/local/include -I/Library/OpenSC/include AM_LDFLAGS = -F/System/Library/Frameworks/PCSC.framework -L/opt/local/lib -framework PCSC