lua-modules: choice between Lua 5.1.x & Lua 5.2.x

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Francois Perrad
2014-01-17 18:47:36 +01:00
committed by Peter Korsgaard
parent ba296ab1ea
commit 751d85a7f8
11 changed files with 28 additions and 7 deletions

View File

@@ -15,7 +15,8 @@ define LUA_MSGPACK_NATIVE_BUILD_CMDS
endef
define LUA_MSGPACK_NATIVE_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 -D $(@D)/msgpack.so $(TARGET_DIR)/usr/lib/lua/5.1/msgpack.so
$(INSTALL) -m 755 -D $(@D)/msgpack.so \
$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)/msgpack.so
endef
$(eval $(generic-package))