[Buildroot] [git commit] ljsyscall: move installation path to /usr/share/lua/5x
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Mar 6 22:08:50 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=a888535d45f5dc3cbdeb08f5c30876d3139d65d4
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Move ljsyscall install destination to /usr/share/lua/$(abiver}, to
match what the luarocks install would naturally do. This also
reflects the value of INSTALL_LMOD in the luajit.pc file.
Signed-off-by: Danomi Manchego <danomimanchego123 at gmail.com>
Tested-by: Francois Perrad <francois.perrad at gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/ljsyscall/ljsyscall.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/ljsyscall/ljsyscall.mk b/package/ljsyscall/ljsyscall.mk
index 1f36dc7..cc49890 100644
--- a/package/ljsyscall/ljsyscall.mk
+++ b/package/ljsyscall/ljsyscall.mk
@@ -19,7 +19,7 @@ else ifeq ($(LJSYSCALL_ARCH),)
LJSYSCALL_ARCH = $(BR2_ARCH)
endif
-LJSYSCALL_TARGET_DIR = $(TARGET_DIR)/usr/share/luajit-$(LUAJIT_VERSION)
+LJSYSCALL_TARGET_DIR = $(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)
define LJSYSCALL_INSTALL_TARGET_CMDS
$(INSTALL) -d $(LJSYSCALL_TARGET_DIR)/syscall
More information about the buildroot
mailing list