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