diff --git a/src/makefile.am b/src/makefile.am index 808d54e..d531704 100644 --- a/src/makefile.am +++ b/src/makefile.am @@ -31,8 +31,9 @@ lib_LTLIBRARIES = libcryptoki++.la libcryptoki___la_SOURCES = cryptoki.cxx cryptoki.hxx pcsc.cxx \ version.cxx openssl-engine.cxx -libcryptoki___la_LIBADD = +libcryptoki___la_LIBADD = -lssl -lcrypto if !MINGW32 +libcryptoki___la_LIBADD += -ldl if !MAC libcryptoki___la_LIBADD += -lpcsclite endif