]> git.ipfire.org Git - thirdparty/qemu.git/commit - meson.build
buildsys: Only display Objective-C information when Objective-C is used
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 9 Oct 2023 06:51:29 +0000 (08:51 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 19 Oct 2023 21:13:27 +0000 (23:13 +0200)
commitda6f5544ce0ba351ffaeeac1c0c900d808774ad5
treebf74822e30e66bf3bdce5129fa398ed295d0e978
parentdfd3bb0a99ae9627b4cc9b310ecef1b214188f71
buildsys: Only display Objective-C information when Objective-C is used

When configuring with '--disable-cocoa --disable-coreaudio'
on Darwin, we get:

 meson.build:4081:58: ERROR: Tried to access compiler for language "objc", not specified for host machine.
 meson.build:4097:47: ERROR: Tried to access unknown option 'objc_args'.

Instead of unconditionally display Objective-C informations
on Darwin, display them when Objective-C is discovered.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20231009093812.52915-1-philmd@linaro.org>
meson.build