mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -10,8 +10,12 @@ LUA_MSGPACK_NATIVE_DEPENDENCIES = luainterpreter
|
||||
LUA_MSGPACK_NATIVE_LICENSE = Apache-2.0
|
||||
LUA_MSGPACK_NATIVE_LICENSE_FILES = LICENSE.txt
|
||||
|
||||
# lua-msgpack-native uses the old Lua 5.0 API with luaL_reg, but it is
|
||||
# no longer provided by LuaJit 2.1, so we have to alias luaL_reg to
|
||||
# luaL_Reg.
|
||||
define LUA_MSGPACK_NATIVE_BUILD_CMDS
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) -fPIC -shared -o $(@D)/msgpack.so $(@D)/mp.c
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) -DluaL_reg=luaL_Reg -fPIC \
|
||||
-shared -o $(@D)/msgpack.so $(@D)/mp.c
|
||||
endef
|
||||
|
||||
define LUA_MSGPACK_NATIVE_INSTALL_TARGET_CMDS
|
||||
|
||||
Reference in New Issue
Block a user