aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/script/parser+pipe-expr.test.testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-04-10 11:18:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-04-10 11:18:10 +0200
commit74d42005e25e4a3c8356d44010b82a206b8aa7e6 (patch)
tree14a6de5c761d66502aaffb38b18c2fd1a939db26 /libbuild2/test/script/parser+pipe-expr.test.testscript
parent2905180c48e4b8974d4dee1949a00fc8e7bcafc6 (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/test/script/parser+pipe-expr.test.testscript')
0 files changed, 0 insertions, 0 deletions