lua: enable native build only in luarocks plugin

This commit is contained in:
Tony Theodore 2015-12-12 10:29:21 +11:00
parent aa6896f31c
commit 62906f9c9d
2 changed files with 7 additions and 1 deletions

7
plugins/luarocks/lua.mk Normal file
View File

@ -0,0 +1,7 @@
# This file is part of MXE.
# See index.html for further information.
# enable native build for luarocks
# leave build rule in src/lua.mk for other uses (i.e. build-pkg)
lua_TARGETS := $(BUILD) $(MXE_TARGETS)

View File

@ -10,7 +10,6 @@ $(PKG)_CHECKSUM := c740c7bb23a936944e1cc63b7c3c5351a8976d7867c5252c8854f7b2af9da
$(PKG)_SUBDIR := lua-$($(PKG)_VERSION)
$(PKG)_FILE := lua-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://www.lua.org/ftp/$($(PKG)_FILE)
$(PKG)_TARGETS := $(BUILD) $(MXE_TARGETS)
$(PKG)_DEPS := gcc
$(PKG)_DEPS_$(BUILD) :=