From c4e0d19f1321aa3988e3243630d7b9e2d0cb68a5 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Thu, 11 Apr 2024 18:10:40 +0300 Subject: [PATCH] fdkaac: Mark the dependency include_type as 'system' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When using v2.0.2 of the subproject, it triggers werror for unused functions that come from the fdkaac headers. This avoids errors like the following when werror is set. ``` subprojects/fdk-aac-2.0.2/fdk-aac/FDK_audio.h:757:29: error: ‘FDKlibInfo_lookup’ defined but not used [-Werror=unused-function] 757 | static FDK_AUDIO_INLINE INT FDKlibInfo_lookup(const LIB_INFO* info, ``` Part-of: --- subprojects/gst-plugins-bad/ext/fdkaac/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/ext/fdkaac/meson.build b/subprojects/gst-plugins-bad/ext/fdkaac/meson.build index 2d30cb71d6..834596ad82 100644 --- a/subprojects/gst-plugins-bad/ext/fdkaac/meson.build +++ b/subprojects/gst-plugins-bad/ext/fdkaac/meson.build @@ -1,4 +1,4 @@ -fdkaac_dep = dependency('fdk-aac', allow_fallback: true, required : get_option('fdkaac')) +fdkaac_dep = dependency('fdk-aac', allow_fallback: true, required : get_option('fdkaac'), include_type: 'system') if fdkaac_dep.found() fdkaac_defines = []