]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
ljsyscall: move installation path to /usr/share/lua/5x
authorDanomi Manchego <danomimanchego123@gmail.com>
Fri, 31 Jan 2014 02:29:51 +0000 (21:29 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 6 Mar 2014 22:08:50 +0000 (23:08 +0100)
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@gmail.com>
Tested-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ljsyscall/ljsyscall.mk

index 1f36dc71c2c3a04c5b6921d3177cbbe00d618881..cc498907562ca14d16d6394c671d6803cc786b83 100644 (file)
@@ -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