From 25652f25b59a34012ae7c13bd733b8674a194f8b Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 14 Jul 2022 17:08:17 +0200 Subject: 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. --- CC/EXPRESSIONS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CC') 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"} ] } } -- cgit v1.2.3