diff options
author | Tony Theodore <tonyt@logyst.com> | 2016-04-12 02:01:57 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-04-12 02:01:57 (GMT) |
commit | 7b09ae6e9c72d9f3f38c13671e2b50a04340d94a (patch) | |
tree | f9ae007f28490b74c221e4e31c27eab21881f3ce /src | |
parent | 83ac4c28522706571140d59dc6ec3e3b98cf20e5 (diff) | |
parent | eb685487944db1eab03e46eb4a224783b42bd6fa (diff) | |
download | mxe-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.mk | 9 |
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 = |