commit: 40cf8eb124593f96e767be37262064b6c41fd8e7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 26 11:55:26 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 26 11:55:26 2025 +0000
URL:
https://gitweb.gentoo.org/proj/blas-lapack-aux-wrapper.git/commit/?id=40cf8eb1
Include a pkg-config file
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
meson.build | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 39ba728..87161f7 100644
--- a/meson.build
+++ b/meson.build
@@ -16,6 +16,7 @@ if lapack_ver == ''
endif
fs = import('fs')
+pkg = import('pkgconfig')
py = import('python').find_installation()
sover = get_option('soversion')
@@ -61,12 +62,17 @@ foreach suffix : suffixes
flexiblas_lib = f'libflexiblas@[email protected].@sover@'
foreach lib, _ : libs
- lib = shared_library(
+ lib_tgt = shared_library(
f'@lib@@suffix@',
ldscripts[lib],
soversion : sover,
link_args : [f'-Wl,--auxiliary,@flexiblas_lib@'],
install : true,
)
+
+ pkg.generate(
+ lib_tgt,
+ description : f'@lib@@suffix@ wrapper for FlexiBLAS',
+ )
endforeach
endforeach