File apparmor-swig-build-fix of Package apparmor.import4985

---

 libraries/libapparmor/swig/perl/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

--- a/libraries/libapparmor/swig/perl/Makefile.am
+++ b/libraries/libapparmor/swig/perl/Makefile.am
@@ -9,6 +9,7 @@ MOSTLYCLEANFILES=libapparmor_wrap.c LibA
 
 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
openSUSE Build Service is sponsored by