mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-04 08:15:21 +00:00
From: Jeff Mahoney <jeffm@suse.com>
libapparmor: remove LD_RUN_PATH from swig generated makefile as it results in an rpath binding in the library.
This commit is contained in:
@@ -10,6 +10,7 @@ MOSTLYCLEANFILES=libapparmor_wrap.c LibAppArmor.pm
|
|||||||
|
|
||||||
Makefile.perl: Makefile.PL
|
Makefile.perl: Makefile.PL
|
||||||
$(PERL) $< PREFIX=$(prefix) MAKEFILE=$@
|
$(PERL) $< PREFIX=$(prefix) MAKEFILE=$@
|
||||||
|
sed -ie 's/^LD_RUN_PATH.*//g' Makefile.perl
|
||||||
|
|
||||||
LibAppArmor.so: libapparmor_wrap.c Makefile.perl
|
LibAppArmor.so: libapparmor_wrap.c Makefile.perl
|
||||||
if test ! -f libapparmor_wrap.c; then cp $(srcdir)/libapparmor_wrap.c . ; fi
|
if test ! -f libapparmor_wrap.c; then cp $(srcdir)/libapparmor_wrap.c . ; fi
|
||||||
|
Reference in New Issue
Block a user