Skip to content

Commit

Permalink
build: Make sure to expose p11_kit_check_version
Browse files Browse the repository at this point in the history
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:
#637 (comment)

Signed-off-by: Daiki Ueno <[email protected]>
  • Loading branch information
ueno committed Jul 7, 2024
1 parent 078acdd commit 26bc8ed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions p11-kit/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 = \
Expand Down
1 change: 1 addition & 0 deletions p11-kit/libp11-kit-0.dll.def
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions p11-kit/libp11-kit.map
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,10 @@ LIBP11_KIT_1.0 {
local:
*;
};

LIBP11_KIT_1.1 {
global:
p11_kit_check_version;
local:
*;
} LIBP11_KIT_1.0;

0 comments on commit 26bc8ed

Please sign in to comment.