mirror of https://git.wownero.com/dsc/mxe.git
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
This commit is contained in:
parent
047efe0f21
commit
f499671318
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue