diff options
-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"} } } |