diff --git a/src/makefile.am b/src/makefile.am index c343a5d..7e1d655 100644 --- a/src/makefile.am +++ b/src/makefile.am @@ -13,7 +13,7 @@ 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 +AM_LDFLAGS = -lwinscard endif if !MINGW32 if MAC @@ -42,7 +42,7 @@ libpcscxx_la_SOURCES = cryptoki.cxx cryptoki.hxx pcsc.cxx version.cxx \ libpcscxx_la_LDFLAGS = -version-info ${LIB_VERSION} libpcscxx_la_LIBADD = -lssl -lcrypto if MINGW32 -libpcscxx_la_LIBADD += -lgdi32 -lws2_32 +libpcscxx_la_LIBADD += else libpcscxx_la_LIBADD += -ldl if !MAC