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 <[email protected]>
Tested-by: Francois Perrad <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
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