Skip to content

Commit

Permalink
build: Install provider in correct path
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
neverpanic authored and simo5 committed Apr 23, 2024
1 parent c822c11 commit 8bd7a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

0 comments on commit 8bd7a04

Please sign in to comment.