diff --git a/package/lua/lua.mk b/package/lua/lua.mk index 2098de23b7..ac75fe6d56 100644 --- a/package/lua/lua.mk +++ b/package/lua/lua.mk @@ -44,6 +44,7 @@ endef define HOST_LUA_BUILD_CMDS $(MAKE) \ CFLAGS="$(HOST_LUA_CFLAGS)" \ + MYLDFLAGS="$(HOST_LDFLAGS)" \ MYLIBS="$(HOST_LUA_MYLIBS)" \ PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all endef