aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/meson.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-23 04:16:07 +0900
committerOphestra <cat@gensokyo.uk>2026-10-23 04:16:07 +0900
commit54466f0e43b858f36cace47ceb3cab121614f837 (patch)
tree8dea2c09ea020fff8dfb05a3d573cc7bf3739085 /internal/rosa/meson.go
parent609f6504e801096bb6f657b768bb5d1f49199080 (diff)
internal/rosa: set pkg-config libdir
We do not want to put up with the pkg-config wrappers. This does what the wrappers would have done. CMake does this automatically, but not meson and autotools. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/meson.go')
-rw-r--r--internal/rosa/meson.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/rosa/meson.go b/internal/rosa/meson.go
index 59029595..33cbb70a 100644
--- a/internal/rosa/meson.go
+++ b/internal/rosa/meson.go
@@ -74,7 +74,10 @@ strip = ['llvm-strip']
[properties]
sys_root = '/system/`+arch+`'
-pkg_config_libdir = '/system/`+arch+`/system/lib/pkgconfig'
+pkg_config_libdir = [
+ '/system/`+arch+`/system/lib/pkgconfig',
+ '/system/`+arch+`/system/share/pkgconfig'
+ ]
[host_machine]
cpu = '`+mesonArch+`'