]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
libuci: correct lua path
authorNeha Bairathi <Neha.Bairathi@imgtec.com>
Tue, 9 Feb 2016 13:17:37 +0000 (18:47 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Feb 2016 22:45:04 +0000 (23:45 +0100)
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 <Abhimanyu.Vishwakarma@imgtec.com>
Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Neha Bairathi <Neha.Bairathi@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libuci/libuci.mk

index a78048dc53c8258617618f177c76d810cefe66c0..8c060d598443bef4ff85393bcc6ce1245f6902f0 100644 (file)
@@ -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