Marcus Rueckert
f270973a6c
Accepted submit request 57745 from user jeff_mahoney OBS-URL: https://build.opensuse.org/request/show/57745 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor?expand=0&rev=1
24 lines
886 B
Plaintext
24 lines
886 B
Plaintext
From: Jeff Mahoney <jeffm@suse.com>
|
|
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 <jeffm@suse.com>
|
|
---
|
|
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
|