Re: [PATCH v2 2/4] buildtools: use macro to embed information in binaries

2025-04-15 Thread Andre Muezerie
On Tue, Apr 15, 2025 at 10:44:51AM +0300, Dmitry Kozlyuk wrote: > On 15.04.2025 04:21, Andre Muezerie wrote: > >-_, tmp_root, ar, archive, output, *pmdinfogen = sys.argv > >+_, tmp_root, archiver, archive, output, *pmdinfogen = sys.argv > > with tempfile.TemporaryDirectory(dir=tmp_root) as temp: >

Re: [PATCH v2 2/4] buildtools: use macro to embed information in binaries

2025-04-15 Thread Dmitry Kozlyuk
On 15.04.2025 04:21, Andre Muezerie wrote: -_, tmp_root, ar, archive, output, *pmdinfogen = sys.argv +_, tmp_root, archiver, archive, output, *pmdinfogen = sys.argv with tempfile.TemporaryDirectory(dir=tmp_root) as temp: paths = [] -for name in subprocess.run([ar, "t", archive], stdou

[PATCH v2 2/4] buildtools: use macro to embed information in binaries

2025-04-14 Thread Andre Muezerie
The archiver tool from the MSVC toolset is lib.exe. It has different parameters then it's GNU counterpart "ar". buildtools\meson.build was updated to use lib.exe when MSVC compiler is used. This is to allow the code to be built without requiring GNU "ar" to be installed in that scenario. Script g