diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-09-27 10:22:34 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-09-27 12:30:51 +0200 |
commit | 5ad46995c77d02a8db0d5de2926308715ba22241 (patch) | |
tree | 3fe7271068d6bea1c5d7c0bd4aa238fc4933a165 | |
parent | 620931610be855f5ef4cd49fd82d4868419f1f68 (diff) | |
download | rules-cc-5ad46995c77d02a8db0d5de2926308715ba22241.tar.gz |
foreign: Fix missing path union
-rw-r--r-- | CC/foreign/cmake/EXPRESSIONS | 10 | ||||
-rw-r--r-- | CC/foreign/make/EXPRESSIONS | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/CC/foreign/cmake/EXPRESSIONS b/CC/foreign/cmake/EXPRESSIONS index 5397e9f..a36c706 100644 --- a/CC/foreign/cmake/EXPRESSIONS +++ b/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/CC/foreign/make/EXPRESSIONS b/CC/foreign/make/EXPRESSIONS index ceb5913..d31a2bb 100644 --- a/CC/foreign/make/EXPRESSIONS +++ b/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"} } } |