diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-13 15:56:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-13 15:56:30 +0200 |
commit | 3df81f14a044ca615157978272349e0d200c3bd4 (patch) | |
tree | df8f81d4b908ed0d7796d2299800baf65823ec71 /libbuild2/cc/pkgconfig.cxx | |
parent | 23827edd998db30dd1f0d6a14f09399aa7d07b69 (diff) |
Rename sys_inc_dirs to sys_hdr_dirs for consistency
Diffstat (limited to 'libbuild2/cc/pkgconfig.cxx')
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index fd88b59..4c2d55b 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -93,7 +93,7 @@ namespace build2 explicit pkgconf (path_type, const dir_paths& pc_dirs, - const dir_paths& sys_inc_dirs, + const dir_paths& sys_hdr_dirs, const dir_paths& sys_lib_dirs); // Create a special empty object. Querying package information on such @@ -299,7 +299,7 @@ namespace build2 pkgconf (path_type p, const dir_paths& pc_dirs, const dir_paths& sys_lib_dirs, - const dir_paths& sys_inc_dirs) + const dir_paths& sys_hdr_dirs) : path (move (p)) { auto add_dirs = [] (pkgconf_list_t& dir_list, @@ -339,7 +339,7 @@ namespace build2 true /* cleanup */); add_dirs (c->filter_includedirs, - sys_inc_dirs, + sys_hdr_dirs, false /* suppress_dups */, true /* cleanup */); @@ -1324,11 +1324,11 @@ namespace build2 bool pa (at != nullptr && !ap.empty ()); if (pa || sp.empty ()) - apc = pkgconf (ap, pc_dirs, sys_lib_dirs, sys_inc_dirs); + apc = pkgconf (ap, pc_dirs, sys_lib_dirs, sys_hdr_dirs); bool ps (st != nullptr && !sp.empty ()); if (ps || ap.empty ()) - spc = pkgconf (sp, pc_dirs, sys_lib_dirs, sys_inc_dirs); + spc = pkgconf (sp, pc_dirs, sys_lib_dirs, sys_hdr_dirs); // Sort out the interface dependencies (which we are setting on lib{}). // If we have the shared .pc variant, then we use that. Otherwise -- |