From 26bc8ed61520f221d0cad61a68c7b0f3195f8529 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Sun, 7 Jul 2024 16:32:23 +0900 Subject: [PATCH] build: Make sure to expose p11_kit_check_version Previously, version.h was not installed when building with Autotools, and the function symbol was not exposed from libp11-kit when building with Meson. Reported by Andreas Metzler in: https://github.com/p11-glue/p11-kit/pull/637#issuecomment-2211743344 Signed-off-by: Daiki Ueno --- p11-kit/Makefile.am | 1 + p11-kit/libp11-kit-0.dll.def | 1 + p11-kit/libp11-kit.map | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/p11-kit/Makefile.am b/p11-kit/Makefile.am index 87d136fd3..3afca5e0a 100644 --- a/p11-kit/Makefile.am +++ b/p11-kit/Makefile.am @@ -6,6 +6,7 @@ inc_HEADERS += \ p11-kit/pin.h \ p11-kit/remote.h \ p11-kit/uri.h \ + p11-kit/version.h \ $(NULL) COMMON_SRCS = \ diff --git a/p11-kit/libp11-kit-0.dll.def b/p11-kit/libp11-kit-0.dll.def index fdb6a8f8a..1d95918f1 100644 --- a/p11-kit/libp11-kit-0.dll.def +++ b/p11-kit/libp11-kit-0.dll.def @@ -4,6 +4,7 @@ C_GetInterface C_GetInterfaceList p11_kit_be_loud p11_kit_be_quiet +p11_kit_check_version p11_kit_config_option p11_kit_finalize_module p11_kit_finalize_registered diff --git a/p11-kit/libp11-kit.map b/p11-kit/libp11-kit.map index 1e94bf361..774b22809 100644 --- a/p11-kit/libp11-kit.map +++ b/p11-kit/libp11-kit.map @@ -105,3 +105,10 @@ LIBP11_KIT_1.0 { local: *; }; + +LIBP11_KIT_1.1 { + global: + p11_kit_check_version; + local: + *; +} LIBP11_KIT_1.0;