bin: fix linking for cross-compiled Windows build.
commit2b1ce9d6cd67978a038f997dc63da72897b317c2
authorJehan <jehan@girinstud.io>
Tue, 14 Nov 2023 12:59:28 +0000 (14 13:59 +0100)
committerJehan <jehan@girinstud.io>
Tue, 14 Nov 2023 13:07:04 +0000 (14 14:07 +0100)
tree243bb547b32e8185b57e1e5b9a3c5b9c7f73b277
parent0fb83c735fbfe1cb117f38147e7acc15cf8ca775
bin: fix linking for cross-compiled Windows build.

While I didn't have a problem for Linux builds, when cross-compiling for
Windows, these errors occur:

> babl-util.c:296: undefined reference to `babl_strcat'

(and a few similar other "undefined reference" as this one gets fixed)

This is because we include babl-internal.h in bin/babl.c but don't add
the right compilation unit sources. The build was still finding them (or
maybe ignoring them as the functions were unused in the babl CLI tool
code) on Linux, but not on Windows.
bin/meson.build