diff options
author | daurnimator <quae@daurnimator.com> | 2018-08-05 15:30:12 +1000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-08-10 22:49:47 -0300 |
commit | 59354e07c63c171d8f67d40e4c1daa94d552f248 (patch) | |
tree | c3faaee993eeecb499b74fbc4de2246f5982641a | |
parent | 518171956de5453edf2c45c8df6591b523e82673 (diff) | |
download | luarocks-59354e07c63c171d8f67d40e4c1daa94d552f248.tar.gz luarocks-59354e07c63c171d8f67d40e4c1daa94d552f248.tar.bz2 luarocks-59354e07c63c171d8f67d40e4c1daa94d552f248.zip |
GNUmakefile: Have build-binary targets use clean lua environment
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index ba975b99..eb7d82fe 100644 --- a/GNUmakefile +++ b/GNUmakefile | |||
@@ -118,10 +118,14 @@ uninstall: | |||
118 | binary: build-binary/luarocks.exe build-binary/luarocks-admin.exe | 118 | binary: build-binary/luarocks.exe build-binary/luarocks-admin.exe |
119 | 119 | ||
120 | build-binary/luarocks.exe: luarocks | 120 | build-binary/luarocks.exe: luarocks |
121 | LUA_PATH="$(CURDIR)/src/?.lua;;" "$(LUA_BINDIR)/$(LUA_INTERPRETER)" binary/all_in_one "src/bin/luarocks" "$(LUA_DIR)" "^src/luarocks/admin/" "$(luarocksconfdir)" build-binary $(BINARY_PLATFORM) $(BINARY_CC) $(BINARY_NM) $(BINARY_SYSROOT) | 121 | (unset $(LUA_ENV_VARS); \ |
122 | LUA_PATH="./src/?.lua;;" \ | ||
123 | "$(LUA)" binary/all_in_one "src/bin/luarocks" "$(LUA_DIR)" "^src/luarocks/admin/" "$(luarocksconfdir)" "$(@D)" $(BINARY_PLATFORM) $(BINARY_CC) $(BINARY_NM) $(BINARY_SYSROOT)) | ||
122 | 124 | ||
123 | build-binary/luarocks-admin.exe: luarocks | 125 | build-binary/luarocks-admin.exe: luarocks |
124 | LUA_PATH="$(CURDIR)/src/?.lua;;" "$(LUA_BINDIR)/$(LUA_INTERPRETER)" binary/all_in_one "src/bin/luarocks-admin" "$(LUA_DIR)" "^src/luarocks/cmd/" "$(luarocksconfdir)" build-binary $(BINARY_PLATFORM) $(BINARY_CC) $(BINARY_NM) $(BINARY_SYSROOT) | 126 | (unset $(LUA_ENV_VARS); \ |
127 | LUA_PATH="./src/?.lua;;" \ | ||
128 | "$(LUA)" binary/all_in_one "src/bin/luarocks-admin" "$(LUA_DIR)" "^src/luarocks/cmd/" "$(luarocksconfdir)" "$(@D)" $(BINARY_PLATFORM) $(BINARY_CC) $(BINARY_NM) $(BINARY_SYSROOT)) | ||
125 | 129 | ||
126 | # ---------------------------------------- | 130 | # ---------------------------------------- |
127 | # Binary install | 131 | # Binary install |