Skip to content

Commit

Permalink
meson.build: Generate a pkg-config (.pc) file
Browse files Browse the repository at this point in the history
  • Loading branch information
edmonds committed Mar 2, 2024
1 parent f8782bf commit 1acbb21
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ test('tests', tests)

install_headers(files('hydrogen.h'))

pkgconfig = import('pkgconfig')
pkgconfig.generate(
libhydrogen,
name: 'libhydrogen',
description: 'Lightweight, secure, easy-to-use crypto library suitable for constrained environments.',
url: 'https://libhydrogen.org/',
)

libhydrogen_dep = declare_dependency(
include_directories: include_dirs,
link_with: libhydrogen,
Expand Down

0 comments on commit 1acbb21

Please sign in to comment.