diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-07-14 17:08:17 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-07-25 12:46:06 +0200 |
commit | 25652f25b59a34012ae7c13bd733b8674a194f8b (patch) | |
tree | 5d6d5395376e39dc1d12d2064800873d348d053f | |
parent | d6ade68bc52d56467abdd7aee70c108902f4f0b2 (diff) | |
download | rules-cc-25652f25b59a34012ae7c13bd733b8674a194f8b.tar.gz |
CC rules: keep dependencies last in linking
... as the external link dependency is still associated with this
library. In this way, importing preinstalled libraries can happen
in a sound way, even though the actual library is just an external
link dependency; still dependencies among external libraries are
honored.
-rw-r--r-- | CC/EXPRESSIONS | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CC/EXPRESSIONS b/CC/EXPRESSIONS index 462d219..ac57b67 100644 --- a/CC/EXPRESSIONS +++ b/CC/EXPRESSIONS @@ -499,8 +499,8 @@ { "type": "++" , "$1": [ {"type": "keys", "$1": {"type": "var", "name": "lib"}} - , {"type": "CALL_EXPRESSION", "name": "link-args-deps"} , {"type": "var", "name": "link external", "default": []} + , {"type": "CALL_EXPRESSION", "name": "link-args-deps"} ] } } |