summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Roloff <sascha.roloff@huawei.com>2023-05-31 12:19:15 +0200
committerSascha Roloff <sascha.roloff@huawei.com>2023-05-31 12:19:15 +0200
commit45d0f6390f1d61797740abd65ccee57c78684166 (patch)
tree892da216ee50a302c9f991c7eb63f9e7fb85e877
parent9f535dadf06c6c6554bac632069777cf1b63ebf5 (diff)
downloadrules-cc-45d0f6390f1d61797740abd65ccee57c78684166.tar.gz
Change install location of pkg-config files in install-with-deps rule
-rw-r--r--CC/RULES4
1 files changed, 2 insertions, 2 deletions
diff --git a/CC/RULES b/CC/RULES
index d2aeece..96d1db4 100644
--- a/CC/RULES
+++ b/CC/RULES
@@ -790,7 +790,7 @@
[ "Install target's artifacts with transitive dependencies. Depending on"
, "the target, artifacts and dependencies will be installed to"
, "subdirectories \"bin\", \"include\", and \"lib\". For library targets,"
- , "a pkg-config file is generated and provided in \"share/pkgconfig\"."
+ , "a pkg-config file is generated and provided in \"lib/pkgconfig\"."
]
, "config_vars": ["PREFIX"]
, "target_fields": ["targets"]
@@ -823,7 +823,7 @@
, "expression":
{ "type": "let*"
, "bindings":
- [ ["pc-install-dir", "share/pkgconfig"]
+ [ ["pc-install-dir", "lib/pkgconfig"]
, ["targets", {"type": "FIELD", "name": "targets"}]
, [ "prefix"
, { "type": "if"