From 21af11cce07f60ed6bbc4a21d5247a5153cbfac0 Mon Sep 17 00:00:00 2001 From: Neha Bairathi Date: Tue, 9 Feb 2016 18:47:37 +0530 Subject: [PATCH] libuci: correct lua path LUAPATH is used as the path for installing lua binding. As buildroot specifies the install prefix, STAGING_DIR gets appended to TARGET_DIR which is incorrect path for installation, so use relative path. Reviewed-by: Abhimanyu Vishwakarma Reviewed-by: Marcin Nowakowski Signed-off-by: Neha Bairathi Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/libuci/libuci.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libuci/libuci.mk b/package/libuci/libuci.mk index a78048dc53..8c060d5984 100644 --- a/package/libuci/libuci.mk +++ b/package/libuci/libuci.mk @@ -13,7 +13,7 @@ LIBUCI_DEPENDENCIES = libubox ifeq ($(BR2_PACKAGE_LUA_5_1),y) LIBUCI_DEPENDENCIES += lua LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \ - -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \ + -DLUAPATH=/usr/lib/lua/5.1 \ -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include else LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF