William A. Kennington III | 49e9566 | 2021-09-15 16:19:36 -0700 | [diff] [blame] | 1 | From 52953ab99c727a19e88243dda2702d6814f7974d Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 2 | From: Mingli Yu <mingli.yu@windriver.com> |
| 3 | Date: Wed, 4 Nov 2020 08:55:10 +0000 |
| 4 | Subject: [PATCH] Makefile.in: don't use the internal lua |
| 5 | |
| 6 | ntopng depends on lua and it will compile the lua under |
| 7 | third-party sub dir of source tree, but this one supports |
| 8 | cross-compiling badly, so use the one under RECIPE_SYSROOT. |
| 9 | |
| 10 | Upstream-Status: Inappropriate [embedded specific] |
| 11 | |
| 12 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
| 13 | --- |
| 14 | Makefile.in | 2 -- |
| 15 | 1 file changed, 2 deletions(-) |
| 16 | |
| 17 | diff --git a/Makefile.in b/Makefile.in |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 18 | index d737e74..a611b16 100755 |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 19 | --- a/Makefile.in |
| 20 | +++ b/Makefile.in |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 21 | @@ -36,7 +36,6 @@ MONGOOSE_INC=-I$(MONGOOSE_HOME) |
| 22 | LUA_PLATFORM=generic |
| 23 | LUA_HOME=${PWD}/third-party/lua-5.4.3 |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 24 | LUA_INC=-I$(LUA_HOME)/src |
| 25 | -LUA_LIB=$(LUA_HOME)/src/liblua.a |
| 26 | |
William A. Kennington III | 49e9566 | 2021-09-15 16:19:36 -0700 | [diff] [blame] | 27 | ifeq ($(OS),Linux) |
| 28 | LUA_PLATFORM=linux |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 29 | @@ -102,7 +101,6 @@ RPM_PKG = $(TARGET)-$(NTOPNG_VERSION)-@REVISION@.$(PLATFORM).rpm |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 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 | -- |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 38 | 2.25.1 |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 39 | |