--- a/api/libsphinxclient/Makefile.am +++ a/api/libsphinxclient/Makefile.am @@ -10,4 +10,4 @@ libsphinxclient_la_LIBADD = @LTLIBOBJS@ libsphinxclient_la_LDFLAGS = -release @VERSION@ include_HEADERS = sphinxclient.h -test_LDADD = .libs/libsphinxclient.a +test_LDADD = $(lib_LTLIBRARIES)