diff --git a/doc/examples/makefile.am b/doc/examples/makefile.am index 1cf9712..4f78a42 100644 --- a/doc/examples/makefile.am +++ b/doc/examples/makefile.am @@ -14,7 +14,7 @@ pcsc_demo_SOURCES = pcsc-demo.cxx if MINGW32 pcsc_demo_LDADD = /opt/local/i586-mingw32msvc/lib/winscard.a else -pcsc_demo_LDADD = -lpcsclite +pcsc_demo_LDADD = -lpcsclite -lpthread endif cryptoki_demo_SOURCES = cryptoki-demo.cxx diff --git a/test/makefile.am b/test/makefile.am index 7151038..94521ad 100644 --- a/test/makefile.am +++ b/test/makefile.am @@ -11,7 +11,7 @@ check_PROGRAMS = sharedpointer_test TESTS=${check_PROGRAMS} sharedpointer_test_SOURCES = sharedpointer_test.cxx -sharedpointer_test_LDFLAGS = -lcryptoki++ +sharedpointer_test_LDFLAGS = -L${top_builddir}/src -lcryptoki++ CLEANFILES = $(check_PROGRAMS:%=%.xml) MAINTAINERCLEANFILES = makefile.in