Disabled LUA install in default intsaller too due to low demand

This commit is contained in:
Pavel Odintsov 2019-07-11 20:50:35 +01:00
parent 2c87e24d93
commit 07a832244e

View File

@ -87,7 +87,7 @@ if ($use_modern_pf_ring) {
}
my $we_have_ndpi_support = '1';
my $we_have_luajit_support = '1';
my $we_have_luajit_support = '';
my $we_have_hiredis_support = '1';
my $we_have_log4cpp_support = '1';
my $we_have_pfring_support = '';
@ -1581,6 +1581,11 @@ sub install_fastnetmon {
system("sed -i 's/pf_ring_6.0.3/pf_ring_$pf_ring_version/' ../CMakeLists.txt")
}
# We do not need LUA by default
unless ($we_have_luajit_support) {
$cmake_params .= " -DENABLE_LUA_SUPPORT=OFF ";
}
if (defined($ENV{'TRAVIS'}) && $ENV{'TRAVIS'}) {
system("cmake .. $cmake_params");
system("make $make_options");