diff options
-rw-r--r-- | plugins/luarocks/luarocks.mk | 2 | ||||
-rw-r--r-- | src/lua.mk | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/luarocks/luarocks.mk b/plugins/luarocks/luarocks.mk index 254e303..3ec4404 100644 --- a/plugins/luarocks/luarocks.mk +++ b/plugins/luarocks/luarocks.mk @@ -24,7 +24,7 @@ define $(PKG)_BUILD_SHARED --rocks-tree='$(PREFIX)/$(TARGET)' \ --lua-version='$(lua_SHORTVER)' \ --with-lua='$(PREFIX)/$(TARGET)' \ - --with-lua-bin='$(PREFIX)/bin' \ + --with-lua-bin='$(PREFIX)/$(BUILD)/bin' \ --with-downloader='wget' \ --with-md5-checker='openssl' $(MAKE) -C '$(1)' build \ @@ -81,7 +81,7 @@ define $(PKG)_BUILD_$(BUILD) $(MAKE) -C '$(1)/src' -j '$(JOBS)' \ PLAT=$(shell ([ `uname -s` == Darwin ] && echo "macosx") || echo `uname -s` | tr '[:upper:]' '[:lower:]') $(INSTALL) '$(1)/src/lua' '$(PREFIX)/bin/$(BUILD)-lua' - ln -sf '$(BUILD)-lua' '$(PREFIX)/bin/lua' + ln -sf '$(PREFIX)/bin/$(BUILD)-lua' '$(PREFIX)/$(BUILD)/bin/lua' $(INSTALL) '$(1)/src/luac' '$(PREFIX)/bin/$(BUILD)-luac' - ln -sf '$(BUILD)-luac' '$(PREFIX)/bin/luac' + ln -sf '$(PREFIX)/bin/$(BUILD)-luac' '$(PREFIX)/$(BUILD)/bin/luac' endef |