1From 65c15247d268566b79e4595b8e734b7e40679d75 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 4 Nov 2020 08:55:10 +0000
4Subject: [PATCH] Makefile.in: don't use the internal lua
5
6ntopng depends on lua and it will compile the lua under
7third-party sub dir of source tree, but this one supports
8cross-compiling badly, so use the one under RECIPE_SYSROOT.
9
10Upstream-Status: Inappropriate [embedded specific]
11
12Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
13---
14 Makefile.in | 2 --
15 1 file changed, 2 deletions(-)
16
17diff --git a/Makefile.in b/Makefile.in
18index 143535746..fc06a5341 100755
19--- a/Makefile.in
20+++ b/Makefile.in
21@@ -40,7 +40,6 @@ endif
22
23 LUA_HOME=${PWD}/third-party/lua-5.3.5
24 LUA_INC=-I$(LUA_HOME)/src
25-LUA_LIB=$(LUA_HOME)/src/liblua.a
26
27 ######
28 LIBRRDTOOL_HOME=${PWD}/third-party/rrdtool-1.4.8
29@@ -118,7 +117,6 @@ RPM_PKG = $(TARGET)-$(NTOPNG_VERSION)-@REVISION@.$(PLATFORM).rpm
30 RPM_DATA_PKG = $(TARGET)-data-$(NTOPNG_VERSION)-@REVISION@.noarch.rpm
31 ######
32
33-LIB_TARGETS = $(LUA_LIB)
34
35 ifneq ($(HAS_ZEROMQ), 0)
36 LIB_TARGETS += $(ZEROMQ_LIB)
37--
382.26.2
39
40