From 5123cea3a28b0ad30d418410b4ee1fbb0a1884cc Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 15 Nov 2021 13:47:30 +0530 Subject: [PATCH] meson: Add agent include dir to uninstalled pkgconfig file Meson picks up the includedirs from the library target that it is building the pkgconfig file for. Since libnice's headers are split into the nice/ and agent/ subdirs, we need to add agent/ to include_directories: so that it's automatically added to the uninstalled pkgconfig file by Meson. --- nice/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nice/meson.build b/nice/meson.build index 9c0cdd4..648ed20 100644 --- a/nice/meson.build +++ b/nice/meson.build @@ -22,6 +22,8 @@ endif libnice = library('nice', link_whole: [libagent, libsocket, libstun, librandom], dependencies: nice_deps, + # Add agent include to uninstalled pkgconfig file + include_directories: agent_include, version : libversion, soversion : soversion, vs_module_defs: libnice_def, -- 2.7.4