From 89564a460749700b6ad25bf72fb3e5f5ebb601f6 Mon Sep 17 00:00:00 2001 From: "Klaus T. Aehlig" Date: Sat, 4 May 2024 12:22:05 +0200 Subject: ["CC/pkgconfig", "system_library"]: honor ENV also for aux action Our pkg config rule postprocesses the output of pkgconfig to add options -rpath where appropriate. This postprocessing, however, relies on (standard) tools from the environment, in particular cat(1). Therefore, the environment (in particular PATH) needs to be set properly for this auxilliary action. --- rules/CC/pkgconfig/EXPRESSIONS | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/CC/pkgconfig/EXPRESSIONS b/rules/CC/pkgconfig/EXPRESSIONS index b835b587..9b865ded 100644 --- a/rules/CC/pkgconfig/EXPRESSIONS +++ b/rules/CC/pkgconfig/EXPRESSIONS @@ -162,6 +162,7 @@ ] } ] + , "env": {"type": "var", "name": "ENV"} , "outs": [{"type": "var", "name": "ldflags-filename"}] } } -- cgit v1.2.3