diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-09-30 04:57:15 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-09-30 04:57:37 (GMT) |
commit | 8e2d0e85c5dcdecbe858ffbca391dcc5ca0c3527 (patch) | |
tree | b792adf0ea9e65d1b3545e2fe0511e0604f443ac /Makefile | |
parent | ad20853b2d08eb979e11b2618d818ed1b0b2095f (diff) | |
download | mxe-8e2d0e85c5dcdecbe858ffbca391dcc5ca0c3527.zip mxe-8e2d0e85c5dcdecbe858ffbca391dcc5ca0c3527.tar.gz mxe-8e2d0e85c5dcdecbe858ffbca391dcc5ca0c3527.tar.bz2 |
set WINEPREFIX to a readonly directory to force wine to fail
fixes #841
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -142,6 +142,8 @@ endef ENV_WHITELIST := PATH LANG MAKE% MXE% %PROXY %proxy LD_LIBRARY_PATH ACLOCAL_PATH unexport $(filter-out $(ENV_WHITELIST),$(shell env | cut -d '=' -f1)) +export WINEPREFIX=$(PREFIX)/readonly + SHORT_PKG_VERSION = \ $(word 1,$(subst ., ,$($(1)_VERSION))).$(word 2,$(subst ., ,$($(1)_VERSION))) |