diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-11-03 01:36:13 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-11-03 01:36:13 -0500 |
| commit | a511aeead73a7f8c0354ea8b031d17ea11480135 (patch) | |
| tree | 246852a6343b2a00c378e321c1908869af579656 | |
| parent | 4ec84007fc554b8b75df9a3e58d45533b7025a99 (diff) | |
| download | 7zip-packaging-a511aeead73a7f8c0354ea8b031d17ea11480135.tar.gz 7zip-packaging-a511aeead73a7f8c0354ea8b031d17ea11480135.tar.bz2 7zip-packaging-a511aeead73a7f8c0354ea8b031d17ea11480135.zip | |
Sed a bunch of files to correct library names
| -rwxr-xr-x | init | 13 | ||||
| -rw-r--r-- | meta.lua | 2 |
2 files changed, 14 insertions, 1 deletions
| @@ -1 +1,14 @@ | |||
| 1 | #!/bin/sh -ex | 1 | #!/bin/sh -ex |
| 2 | |||
| 3 | cd 7zip | ||
| 4 | # MinGW naming | ||
| 5 | sed -i "s/NTSecAPI.h/ntsecapi.h/g" CPP/Windows/SecurityUtils.h | ||
| 6 | sed -i "s/-lUser32/-luser32/g" CPP/7zip/7zip_gcc.mak | ||
| 7 | sed -i "s/-lOle32/-lole32/g" CPP/7zip/7zip_gcc.mak | ||
| 8 | sed -i "s/-lGdi32/-lgdi32/g" CPP/7zip/7zip_gcc.mak | ||
| 9 | sed -i "s/-lComctl32/-lcomctl32/g" CPP/7zip/7zip_gcc.mak | ||
| 10 | sed -i "s/-lComdlg32/-lcomdlg32/g" CPP/7zip/7zip_gcc.mak | ||
| 11 | sed -i "s/-lShell32/-lshell32/g" CPP/7zip/7zip_gcc.mak | ||
| 12 | cd CPP/7zip/Bundles/Alone2 | ||
| 13 | make -f makefile.gcc "IS_MINGW=1" "RC=windres" | ||
| 14 | cp _o/7zz.exe /root/7z.exe | ||
| @@ -5,7 +5,7 @@ return { | |||
| 5 | {"git","7zip#main"} | 5 | {"git","7zip#main"} |
| 6 | }, | 6 | }, |
| 7 | produces = { | 7 | produces = { |
| 8 | ["7zip.exe"] = true, | 8 | ["7z.exe"] = true, |
| 9 | }, | 9 | }, |
| 10 | } | 10 | } |
| 11 | } | 11 | } |
