From: Jeff Mahoney Subject: testsuite: Fix linking with shared in-tree libapparmor This patch stops the static linking with libapparmor and uses the shared library instead. Before it's installed, it'll have the in-tree rpath and the testsuite will work as expected. Signed-off-by: Jeff Mahoney --- libraries/libapparmor/testsuite/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/libraries/libapparmor/testsuite/Makefile.am +++ b/libraries/libapparmor/testsuite/Makefile.am @@ -12,7 +12,7 @@ noinst_PROGRAMS = test_multi.multi test_multi_multi_SOURCES = test_multi.c test_multi_multi_CFLAGS = $(CFLAGS) -Wall test_multi_multi_LDFLAGS = $(LDFLAGS) -test_multi_multi_LDADD = ../src/.libs/libapparmor.a +test_multi_multi_LDADD = -L../src/.libs -lapparmor clean-local: rm -f tmp.err.* tmp.out.* site.exp site.bak