From b403bbdf82c1c516dc7d54055ef4a26e3eac17f6 Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Tue, 16 Mar 2010 15:00:26 -0700 Subject: [PATCH] Fix perl swig bindings so that libapparmor can be built when configured without perl. Thanks to Arkadiusz Miskiewicz . --- libraries/libapparmor/swig/perl/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/libapparmor/swig/perl/Makefile.am b/libraries/libapparmor/swig/perl/Makefile.am index 6858d65c5..44fa2ed93 100644 --- a/libraries/libapparmor/swig/perl/Makefile.am +++ b/libraries/libapparmor/swig/perl/Makefile.am @@ -1,7 +1,8 @@ EXTRA_DIST =Makefile.PL libapparmor_wrap.c LibAppArmor.pm examples/*.pl -noinst_DATA =LibAppArmor.so if HAVE_PERL +noinst_DATA =LibAppArmor.so + libapparmor_wrap.c: $(srcdir)/../SWIG/libapparmor.i $(SWIG) -perl -I$(srcdir)/../../src -module LibAppArmor -o $@ $(srcdir)/../SWIG/libapparmor.i @@ -27,4 +28,4 @@ clean-local: #rm -f Makefile.perl Makefile.perl.old rm -f *.so # *.o -endif \ No newline at end of file +endif