diff --git a/libraries/libapparmor/swig/perl/Makefile.am b/libraries/libapparmor/swig/perl/Makefile.am index 901fc62cf..6ae4e30cf 100644 --- a/libraries/libapparmor/swig/perl/Makefile.am +++ b/libraries/libapparmor/swig/perl/Makefile.am @@ -12,6 +12,7 @@ LibAppArmor.pm: libapparmor_wrap.c Makefile.perl: Makefile.PL LibAppArmor.pm $(PERL) $< PREFIX=$(prefix) MAKEFILE=$@ + sed -ie 's/LD_RUN_PATH="\x24(LD_RUN_PATH)"//g' Makefile.perl sed -ie 's/^LD_RUN_PATH.*//g' Makefile.perl LibAppArmor.so: libapparmor_wrap.c Makefile.perl