Skip to content

Commit 2e28bfe

Browse files
committed
build: request c++ compiler for host and build machine
meson complains: ../meson.build:34: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build. The ci builds are using cross compiler, thus we need the c++ compiler in this scenario. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 4136b8f commit 2e28bfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ endif
3131

3232
################################################################################
3333
cc = meson.get_compiler('c')
34-
cxx_available = add_languages('cpp', required: false)
34+
cxx_available = add_languages('cpp', required: false, native: false)
3535

3636
prefixdir = get_option('prefix')
3737
libdir = join_paths(prefixdir, get_option('libdir'))

0 commit comments

Comments
 (0)