diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2015-11-15 16:07:38 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2015-11-15 16:07:38 (GMT) |
commit | f49967131808d2066b162c5033271e79d06e0bdc (patch) | |
tree | df0d2c8219047432aa652879d5a42006484a878c /src | |
parent | 047efe0f21eb7dd48ed28d4b56cecca669c417fd (diff) | |
download | mxe-f49967131808d2066b162c5033271e79d06e0bdc.zip mxe-f49967131808d2066b162c5033271e79d06e0bdc.tar.gz mxe-f49967131808d2066b162c5033271e79d06e0bdc.tar.bz2 |
mxe-conf: create always failing wine dummy
Now dlfcn-win32 can't detect wine.
From log/dlfcn-win32_i686-w64-mingw32.static:
static: yes
shared: no
wine:
Previously wine was set to "yes wine".
fix #995
Diffstat (limited to 'src')
-rw-r--r-- | src/mxe-conf.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mxe-conf.mk b/src/mxe-conf.mk index 77e28e3..9adc685 100644 --- a/src/mxe-conf.mk +++ b/src/mxe-conf.mk @@ -100,4 +100,12 @@ define $(PKG)_BUILD_$(BUILD) #create readonly directory to force wine to fail $(INSTALL) -m444 -d "$$WINEPREFIX" + + #create script "wine" in a directory which is in PATH + mkdir -p '$(PREFIX)/$(BUILD)/bin/' + (echo '#!/usr/bin/env bash'; \ + echo 'exit 1'; \ + ) \ + > '$(PREFIX)/$(BUILD)/bin/wine' + chmod 0755 '$(PREFIX)/$(BUILD)/bin/wine' endef |