diff options
author | Tony Theodore <tonyt@logyst.com> | 2018-03-11 16:28:19 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2018-03-12 03:28:14 (GMT) |
commit | c8ae0e27985b35daa53b0d89e0a0e855d5b474e5 (patch) | |
tree | ae0e41127d64ae0670d33a32b8b27b4a7314044d /src/waf.mk | |
parent | 4f21088b48d540a26cdefdae01b69f743a1a0d71 (diff) | |
download | mxe-c8ae0e27985b35daa53b0d89e0a0e855d5b474e5.zip mxe-c8ae0e27985b35daa53b0d89e0a0e855d5b474e5.tar.gz mxe-c8ae0e27985b35daa53b0d89e0a0e855d5b474e5.tar.bz2 |
waf: unpack in build dir and don't install for general use
Diffstat (limited to 'src/waf.mk')
-rw-r--r-- | src/waf.mk | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -10,6 +10,7 @@ $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := https://waf.io/$($(PKG)_FILE) $(PKG)_TARGETS := $(BUILD) +$(PKG)_TYPE := source-only define $(PKG)_UPDATE $(WGET) -q -O- 'https://waf.io/' | \ @@ -17,7 +18,5 @@ define $(PKG)_UPDATE head -1 endef -define $(PKG)_BUILD_$(BUILD) - mkdir -p '$(PREFIX)/$(BUILD)/bin' - cp '$(1)/waf' '$(PREFIX)/$(BUILD)/bin/waf' -endef +# waf (python) creates a runtime bytecode cache that causes issues +# with packaging - unpack source into build dir and use directly |