From 9dd1fdb0c67590c31fd47a15b5573dcf171cc89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 2 Apr 2014 09:03:00 +0000 Subject: [PATCH] fix winscard-link on mingw; refs #28 --- src/makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/makefile.am b/src/makefile.am index 12b7a18..bf5351c 100644 --- a/src/makefile.am +++ b/src/makefile.am @@ -13,8 +13,9 @@ include_HEADERS = pcsc.hxx cryptoki.hxx openssl.hxx cryptaux.hxx \ noinst_HEADERS = cardgui.hxx cardgui-model.hxx if MINGW32 -AM_LDFLAGS += /opt/local/i586-mingw32msvc/lib/winscard.a -leay32 -else +AM_LDFLAGS = /opt/local/i586-mingw32msvc/lib/winscard.a -leay32 +endif +if !MINGW32 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