diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-04-10 11:18:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-04-10 11:18:10 +0200 |
commit | 74d42005e25e4a3c8356d44010b82a206b8aa7e6 (patch) | |
tree | 14a6de5c761d66502aaffb38b18c2fd1a939db26 /libbuild2/config/init.hxx | |
parent | 2905180c48e4b8974d4dee1949a00fc8e7bcafc6 (diff) |
Fix inconsistent /usr/local/{include,lib} search
In particular, we were adding -L/usr/local/lib which means it is considered
before built-in directories (/usr/lib, etc) but in our own library search
code we were considering it after (because we were storing it at the end of
sys_lib_dirs).
Now in both sys_{hdr,lib}_dirs we store /usr/local/{include,lib} after mode
and before built-in directories. Note that as part of this fix we now pass
-isystem /usr/local/include instead of -idirafter (which is consistent with
the -L behavior and also the customarily expected semantics).
Diffstat (limited to 'libbuild2/config/init.hxx')
0 files changed, 0 insertions, 0 deletions