diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-09-25 15:49:17 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-09-25 15:49:17 -0500 |
| commit | acf0eb539f8f6e52bd12a948f98c09d2268803af (patch) | |
| tree | 6aefc80bbb6de932cc6cdc059acb70983968d0db /init | |
| parent | e0915fa04022145fa372747b7297964439596c4f (diff) | |
| download | luarocks-packaging-acf0eb539f8f6e52bd12a948f98c09d2268803af.tar.gz luarocks-packaging-acf0eb539f8f6e52bd12a948f98c09d2268803af.tar.bz2 luarocks-packaging-acf0eb539f8f6e52bd12a948f98c09d2268803af.zip | |
output hardcoded during build
Diffstat (limited to 'init')
| -rwxr-xr-x | init | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -10,8 +10,8 @@ mkdir build-binary | |||
| 10 | sed -i 's/local program_version = "dev"/local program_version = "lua4.win"/g' /root/luarocks/src/luarocks/core/cfg.lua | 10 | sed -i 's/local program_version = "dev"/local program_version = "lua4.win"/g' /root/luarocks/src/luarocks/core/cfg.lua |
| 11 | patch -i /root/luarocks-packaging/all_in_one.patch binary/all_in_one | 11 | patch -i /root/luarocks-packaging/all_in_one.patch binary/all_in_one |
| 12 | LUAROCKS_CROSS_COMPILING=1 lua5.4 binary/all_in_one "src/bin/luarocks" "" "^src/luarocks/admin/" "/config" "build-binary" "yes" "windows" | 12 | LUAROCKS_CROSS_COMPILING=1 lua5.4 binary/all_in_one "src/bin/luarocks" "" "^src/luarocks/admin/" "/config" "build-binary" "yes" "windows" |
| 13 | cat src/luarocks/core/hardcoded.lua | ||
| 13 | patch -i /root/luarocks-packaging/luarocks.exe.c.patch build-binary/luarocks.exe.c | 14 | patch -i /root/luarocks-packaging/luarocks.exe.c.patch build-binary/luarocks.exe.c |
| 14 | cat build-binary/luarocks.exe.c | wc -l | ||
| 15 | gcc -o build-binary/luarocks.exe -Oz build-binary/luarocks.exe.c -I/root/lua/src /root/libbz2.a /root/libssl.a /root/libz.a /root/liblua.a -mconsole -mwindows -lm | 15 | gcc -o build-binary/luarocks.exe -Oz build-binary/luarocks.exe.c -I/root/lua/src /root/libbz2.a /root/libssl.a /root/libz.a /root/liblua.a -mconsole -mwindows -lm |
| 16 | cp build-binary/luarocks.exe /root | 16 | cp build-binary/luarocks.exe /root |
| 17 | #cd luarocks/binary | 17 | #cd luarocks/binary |
