1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-06 00:51:00 +01:00

Make sure we use -isystem with Meson on some deps

Otherwise we get warnings on external code.
This commit is contained in:
John Ericson 2024-07-29 12:16:05 -04:00
parent 0b96c586e0
commit 12717325cc
5 changed files with 10 additions and 8 deletions

View file

@ -73,6 +73,7 @@ subdir('build-utils-meson/threads')
boost = dependency(
'boost',
modules : ['container'],
include_type: 'system',
)
# boost is a public dependency, but not a pkg-config dependency unfortunately, so we
# put in `deps_other`.
@ -113,7 +114,7 @@ if aws_s3.found()
'-laws-cpp-sdk-core',
'-laws-crt-cpp',
],
)
).as_system('system')
endif
deps_other += aws_s3