Commit b1b6eb5
committed
git-extra: fix build with
To make `-D__USE_MINGW_ANSI_STDIO=1` work (which is implicitly set via
`/etc/makepkg_mingw.conf`), with clangarm64 we need to link to
libmsvcrt-os. Otherwise the build would fail with:
ld.lld: error: undefined symbol: __ms_printf
[...]
ld.lld: error: undefined symbol: __ms_sscanf
With toolchains other than `clangarm64`, linking to that static library
does not hurt, so let's do it unconditionally.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>clangarm64
1 parent 8dbf89f commit b1b6eb5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments