diff --git a/configure.ac b/configure.ac index 4595b33..3f8ee3a 100644 --- a/configure.ac +++ b/configure.ac @@ -25,8 +25,8 @@ LT_INIT PKG_CHECK_MODULES(OPENSSL, [openssl]) PKG_CHECK_MODULES(LIBUUID, [uuid]) -PKG_CHECK_MODULES(LIBTDATA, [libtdata-0.2]) -PKG_CHECK_MODULES(LIBSEXPR, [libsexpr-1.2]) +PKG_CHECK_MODULES(LIBTDATA, [libtdata]) +PKG_CHECK_MODULES(LIBSEXPR, [libsexpr]) dnl ***************** dnl ***** options ***** diff --git a/lib/Makefile.am b/lib/Makefile.am index 59e2831..3b6749a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -16,9 +16,10 @@ lib_LTLIBRARIES = libsntl.la libsntl_la_SOURCES = \ queue.c rpclist.c connection.c -libsntl_la_LDFLAGS = +libsntl_la_LDFLAGS = -Wl,--export-dynamic -libsntl_la_LIBADD = +libsntl_la_LIBADD = -lpthread -lcrypto $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(OPENSSL_LIBS) \ + $(LIBUUID_LIBS) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libsntl.pc