summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-04-12 02:01:57 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-04-12 02:01:57 (GMT)
commit7b09ae6e9c72d9f3f38c13671e2b50a04340d94a (patch)
treef9ae007f28490b74c221e4e31c27eab21881f3ce /src
parent83ac4c28522706571140d59dc6ec3e3b98cf20e5 (diff)
parenteb685487944db1eab03e46eb4a224783b42bd6fa (diff)
downloadmxe-7b09ae6e9c72d9f3f38c13671e2b50a04340d94a.zip
mxe-7b09ae6e9c72d9f3f38c13671e2b50a04340d94a.tar.gz
mxe-7b09ae6e9c72d9f3f38c13671e2b50a04340d94a.tar.bz2
Merge pull request #1274 from LuaAndC/wrk
add package "wrk" to plugins/apps
Diffstat (limited to 'src')
-rw-r--r--src/luajit.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/luajit.mk b/src/luajit.mk
index 73457e9..0b8a282 100644
--- a/src/luajit.mk
+++ b/src/luajit.mk
@@ -4,11 +4,13 @@
PKG := luajit
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.0.4
+$(PKG)_ABIVER := 5.1
$(PKG)_CHECKSUM := 620fa4eb12375021bef6e4f237cbd2dd5d49e56beb414bee052c746beef1807d
$(PKG)_SUBDIR := LuaJIT-$($(PKG)_VERSION)
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
$(PKG)_URL := http://luajit.org/download/$($(PKG)_FILE)
$(PKG)_DEPS := gcc dlfcn-win32
+$(PKG)_DEPS_$(BUILD) :=
define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j '$(JOBS)' \
@@ -21,6 +23,13 @@ define $(PKG)_BUILD
install
endef
+define $(PKG)_BUILD_$(BUILD)
+ $(MAKE) -C '$(1)' -j '$(JOBS)' \
+ BUILDMODE=static \
+ PREFIX='$(PREFIX)/$(BUILD)' \
+ install
+endef
+
# gcc -m64 is only available on 64-bit machines
ifeq (,$(findstring 64,$(BUILD)))
$(PKG)_BUILD_x86_64-w64-mingw32 =