summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-12-06 01:25:29 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2015-12-06 02:38:24 (GMT)
commite6f1f261149cb27b79344f6c7eb7a14737f11d88 (patch)
tree31c175cf87629aed84aeec8be4fa7c906c428f33
parent51a6141cf9d6768d841d644bd760361443b3dd65 (diff)
downloadmxe-e6f1f261149cb27b79344f6c7eb7a14737f11d88.zip
mxe-e6f1f261149cb27b79344f6c7eb7a14737f11d88.tar.gz
mxe-e6f1f261149cb27b79344f6c7eb7a14737f11d88.tar.bz2
luarocks: create the lock dir's parent
Source: https://github.com/mxe/mxe/pull/1017#issuecomment-162260698
-rw-r--r--plugins/luarocks/luarocks.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/luarocks/luarocks.mk b/plugins/luarocks/luarocks.mk
index 10131ee..a852c37 100644
--- a/plugins/luarocks/luarocks.mk
+++ b/plugins/luarocks/luarocks.mk
@@ -39,6 +39,7 @@ define $(PKG)_BUILD_SHARED
# create bash wrapper adding inter-process mutex
# see https://github.com/mxe/mxe/pull/1017#issuecomment-161557440
+ $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/luarocks'
(echo '#!/usr/bin/env bash'; \
echo 'echo "== Using MXE wrapper: $(PREFIX)/$(TARGET)/bin/luarocks"'; \
echo '# Creating a directory is an atomic operation, that is why'; \