diff options
author | Klaus T. Aehlig <aehlig@linta.de> | 2024-05-04 12:22:05 +0200 |
---|---|---|
committer | Klaus T. Aehlig <aehlig@linta.de> | 2024-05-04 12:22:05 +0200 |
commit | 89564a460749700b6ad25bf72fb3e5f5ebb601f6 (patch) | |
tree | 35c8f03a9bf704987a9cecd230c9b55c9234428e | |
parent | aa3f72ba653c1444f4238ecb6e596aac6c20d1cb (diff) | |
download | justbuild-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/EXPRESSIONS | 1 |
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"}] } } |