summaryrefslogtreecommitdiff
path: root/CC
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
commit3b1d1e390b0de137a32bc5c4a8865e5417b3673b (patch)
tree5cf7b89e8131696bbd7f64068a69023b0d0b0c5e /CC
parenta39470f45d63faff07dd60972901709755049db0 (diff)
downloadrules-cc-3b1d1e390b0de137a32bc5c4a8865e5417b3673b.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.
Diffstat (limited to 'CC')
-rw-r--r--CC/pkgconfig/EXPRESSIONS1
1 files changed, 1 insertions, 0 deletions
diff --git a/CC/pkgconfig/EXPRESSIONS b/CC/pkgconfig/EXPRESSIONS
index b835b58..9b865de 100644
--- a/CC/pkgconfig/EXPRESSIONS
+++ b/CC/pkgconfig/EXPRESSIONS
@@ -162,6 +162,7 @@
]
}
]
+ , "env": {"type": "var", "name": "ENV"}
, "outs": [{"type": "var", "name": "ldflags-filename"}]
}
}