Skip to content

Commit

Permalink
build: Port e850e03 to meson
Browse files Browse the repository at this point in the history
Signed-off-by: Daiki Ueno <ueno@gnu.org>
  • Loading branch information
ueno committed Aug 24, 2021
1 parent e850e03 commit 555d566
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions p11-kit/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ libp11_kit_ldflags = cc.get_supported_link_arguments([
])
libp11_kit_symbol_def = meson.current_source_dir() / 'libp11-kit-@0@.dll.def'.format(soversion)

# Make sure that libp11-kit is unloadable, as it installs
# pthread_atfork to count forks in the ELF constructor.
libp11_kit_ldflags += cc.get_supported_link_arguments([
'-Wl,-z,nodelete'
])

libp11_kit = shared_library('p11-kit',
libp11_kit_sources,
install: true,
Expand Down

0 comments on commit 555d566

Please sign in to comment.