summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus T. Aehlig <aehlig@linta.de>2024-05-04 12:22:05 +0200
committerKlaus T. Aehlig <aehlig@linta.de>2024-05-04 12:22:05 +0200
commit89564a460749700b6ad25bf72fb3e5f5ebb601f6 (patch)
tree35c8f03a9bf704987a9cecd230c9b55c9234428e
parentaa3f72ba653c1444f4238ecb6e596aac6c20d1cb (diff)
downloadjustbuild-89564a460749700b6ad25bf72fb3e5f5ebb601f6.tar.gz
["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.
-rw-r--r--rules/CC/pkgconfig/EXPRESSIONS1
1 files changed, 1 insertions, 0 deletions
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"}]
}
}