summaryrefslogtreecommitdiff
path: root/CC/pkgconfig/RULES
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-05-23 10:46:14 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-05-23 13:07:53 +0200
commitf55672f7f71ce1136927edf0dc001058294c1505 (patch)
tree27ea79333d20bda7e1c3d24035ba43201e304cd7 /CC/pkgconfig/RULES
parent035517c997830a3421efc823e5687a3519880c19 (diff)
downloadrules-cc-f55672f7f71ce1136927edf0dc001058294c1505.tar.gz
["CC/pkgconfig", "system_library"]: honor shell toolchain
... instead of hard-coding /bin/sh.
Diffstat (limited to 'CC/pkgconfig/RULES')
-rw-r--r--CC/pkgconfig/RULES5
1 files changed, 4 insertions, 1 deletions
diff --git a/CC/pkgconfig/RULES b/CC/pkgconfig/RULES
index 1d3b613..f51d949 100644
--- a/CC/pkgconfig/RULES
+++ b/CC/pkgconfig/RULES
@@ -2,7 +2,10 @@
{ "doc": ["A system library via pkg-config"]
, "string_fields": ["name", "args", "stage"]
, "implicit":
- {"defaults": [["./", "..", "defaults"]], "add_rpath": ["add_rpath"]}
+ { "defaults": [["./", "..", "defaults"]]
+ , "shell defaults": [["shell", "defaults"]]
+ , "add_rpath": ["add_rpath"]
+ }
, "config_vars": ["PKG_CONFIG_ARGS", "ENV"]
, "field_doc":
{ "name": ["The pkg-config name of the library."]