diff --git a/libraries/libapparmor/swig/perl/Makefile.am b/libraries/libapparmor/swig/perl/Makefile.am index 2ae5ecc8a..df42f5d0b 100644 --- a/libraries/libapparmor/swig/perl/Makefile.am +++ b/libraries/libapparmor/swig/perl/Makefile.am @@ -8,7 +8,9 @@ libapparmor_wrap.c: $(srcdir)/../SWIG/libapparmor.i MOSTLYCLEANFILES=libapparmor_wrap.c LibAppArmor.pm -Makefile.perl: Makefile.PL +LibAppArmor.pm: libapparmor_wrap.c + +Makefile.perl: Makefile.PL LibAppArmor.pm $(PERL) $< PREFIX=$(prefix) MAKEFILE=$@ sed -ie 's/^LD_RUN_PATH.*//g' Makefile.perl