From f49967131808d2066b162c5033271e79d06e0bdc Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Sun, 15 Nov 2015 19:07:38 +0300 Subject: 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 --- src/mxe-conf.mk | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v0.12