build-system: meson: Add windres compiler for mingw.

* guix/build-system/meson.scm (make-binaries-alist): Add windres when
compiling for mingw.

Change-Id: I7f1f34cd5129918f4aba0baf1d2742e0bfbbb751
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Dariqq 2025-10-26 12:30:26 +00:00 committed by Liliana Marie Prikler
parent cb1183121b
commit d4666145b4
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -103,7 +103,10 @@ TRIPLET."
(objcopy . ,(string-append triplet "-objcopy"))
(ar . ,(string-append triplet "-ar"))
(ld . ,(string-append triplet "-ld"))
(strip . ,(string-append triplet "-strip"))))
(strip . ,(string-append triplet "-strip"))
,@(if (target-mingw? triplet)
`((windres . ,(string-append triplet "-windres")))
'())))
(define (make-built-in-options-alist triplet)
(if (target-avr? triplet)