From c7885483fda44a5db7232fa0e0382d17b61f1d38 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Tue, 1 Dec 2015 23:57:00 +0300 Subject: luarocks: separate build and install > install doesn't depend on build so (on OSX) the symlink is > created first and doesn't have execute permissions. These > steps should be separated. See #1017 --- plugins/luarocks/luarocks.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/luarocks/luarocks.mk b/plugins/luarocks/luarocks.mk index 4d14b58..f5fa23e 100644 --- a/plugins/luarocks/luarocks.mk +++ b/plugins/luarocks/luarocks.mk @@ -29,9 +29,10 @@ define $(PKG)_BUILD_SHARED --with-lua-bin='$(PREFIX)/bin' \ --with-downloader='wget' \ --with-md5-checker='openssl' - $(MAKE) -C '$(1)' build install \ + $(MAKE) -C '$(1)' build \ LUAROCKS_UNAME_S="MXE" \ LUAROCKS_UNAME_M="$(TARGET)" + $(MAKE) -C '$(1)' install ln -sf '$(PREFIX)/$(TARGET)/bin/luarocks' '$(PREFIX)/bin/$(TARGET)-luarocks' # create wine wrapper for testing -- cgit v0.12