Re: [PATCH libgpiod] build: do not require a C++ compiler if it is not needed
Bartosz Golaszewski <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 19 Aug 2026 22:13:55 +0200, Edgar Bonet wrote:
> Languages specified in the meson project() function are considered hard
> dependencies. When trying to build libgpiod in an environment lacking a
> C++ compiler, the build fails with an obscure error message ("ERROR:
> Unable to get gcc pre-processor defines").
>
> As the C++ compiler is only needed for building the C++ bindings, do not
> require it unless the option bindings-cxx is enabled.
>
> [...]
Applied, thanks!
[1/1] build: do not require a C++ compiler if it is not needed
https://git.kernel.org/brgl/c/4946370d06d51e3f9b003e71da416a6dddf9e4bc
Best regards,
--
Bartosz Golaszewski <[email protected]>