From 8bd7a046bfd52060db511adcfacb2fd83c5c2a21 Mon Sep 17 00:00:00 2001 From: Clemens Lang Date: Tue, 23 Apr 2024 10:36:33 +0200 Subject: [PATCH] build: Install provider in correct path OpenSSL's libcrypto.pc file does expose the correct path for providers in the modulesdir pkg-config variable (queryable using pkg-config --variable=modulesdir libcrypto), and we do obtain that path in ./meson.build. However, that variable is unused at the moment, and instead src/meson.build "guesses" that path as $libdir/ossl-modules, which may not actually be correct. Signed-off-by: Clemens Lang --- src/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 631d4742..11aacc8d 100644 --- a/src/meson.build +++ b/src/meson.build @@ -34,5 +34,5 @@ pkcs11_provider = shared_module( link_depends: [pkcs11_provider_map], link_args: pkcs11_provider_ldflags, install: true, - install_dir: get_option('libdir') / 'ossl-modules', + install_dir: provider_path, )