diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-09-27 12:33:45 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-09-27 12:33:45 +0200 |
commit | b4e7e4e5b093843b9d325cb47968e916a3986d41 (patch) | |
tree | 4576c067ebf74c03f1511c46594ec85f6e25f98b /rules/CC/foreign | |
parent | 38676d0ea8c81b17e83ed2c4c204956a6c1f4b34 (diff) | |
parent | 5ad46995c77d02a8db0d5de2926308715ba22241 (diff) | |
download | rules-cc-b4e7e4e5b093843b9d325cb47968e916a3986d41.tar.gz |
Merge subtree 'rules' into rules-cc
Diffstat (limited to 'rules/CC/foreign')
-rw-r--r-- | rules/CC/foreign/cmake/EXPRESSIONS | 10 | ||||
-rw-r--r-- | rules/CC/foreign/make/EXPRESSIONS | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/rules/CC/foreign/cmake/EXPRESSIONS b/rules/CC/foreign/cmake/EXPRESSIONS index 5397e9f..a36c706 100644 --- a/rules/CC/foreign/cmake/EXPRESSIONS +++ b/rules/CC/foreign/cmake/EXPRESSIONS @@ -188,7 +188,15 @@ , "$1": { "type": "let*" , "bindings": - [["list", {"type": "CALL_EXPRESSION", "name": "default-PATH"}]] + [ [ "list" + , { "type": "++" + , "$1": + [ {"type": "CALL_EXPRESSION", "name": "foreign-PATH"} + , {"type": "CALL_EXPRESSION", "name": "default-PATH"} + ] + } + ] + ] , "body": {"type": "CALL_EXPRESSION", "name": "nub_left"} } } diff --git a/rules/CC/foreign/make/EXPRESSIONS b/rules/CC/foreign/make/EXPRESSIONS index ceb5913..d31a2bb 100644 --- a/rules/CC/foreign/make/EXPRESSIONS +++ b/rules/CC/foreign/make/EXPRESSIONS @@ -165,7 +165,15 @@ , "$1": { "type": "let*" , "bindings": - [["list", {"type": "CALL_EXPRESSION", "name": "default-PATH"}]] + [ [ "list" + , { "type": "++" + , "$1": + [ {"type": "CALL_EXPRESSION", "name": "foreign-PATH"} + , {"type": "CALL_EXPRESSION", "name": "default-PATH"} + ] + } + ] + ] , "body": {"type": "CALL_EXPRESSION", "name": "nub_left"} } } |