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:
Steve Beattie 2011-02-08 09:27:32 -08:00
parent 788bdcafb9
commit 94dfe15b28

View file

@ -10,6 +10,7 @@ MOSTLYCLEANFILES=libapparmor_wrap.c LibAppArmor.pm
Makefile.perl: Makefile.PL
$(PERL) $< PREFIX=$(prefix) MAKEFILE=$@
sed -ie 's/^LD_RUN_PATH.*//g' Makefile.perl
LibAppArmor.so: libapparmor_wrap.c Makefile.perl
if test ! -f libapparmor_wrap.c; then cp $(srcdir)/libapparmor_wrap.c . ; fi