mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Fix perl swig bindings so that libapparmor can be built when configured
without perl. Thanks to Arkadiusz Miskiewicz <arekm at maven.pl>.
This commit is contained in:
parent
8c7fea39d4
commit
b403bbdf82
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue