summaryrefslogtreecommitdiff
path: root/sys-apps/apparmor/files/apparmor-2.11.1-dynamic-link.patch
blob: bde21c30e703c3c4329a971260ecff76c9a08f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/Makefile
+++ b/Makefile
@@ -87,7 +87,7 @@
 AAREOBJECT = ${AAREDIR}/libapparmor_re.a
 AAREOBJECTS = $(AAREOBJECT)
 AARE_LDFLAGS = -static-libgcc -static-libstdc++ -L. $(LDFLAGS)
-AALIB = -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread
+AALIB = -Wl,-Bdynamic -lapparmor -Wl,-Bdynamic -lpthread
 
 ifdef USE_SYSTEM
   # Using the system libapparmor so Makefile dependencies can't be used