NetworkManager/src/c-siphash/meson.build
Thomas Haller c3b8ef3539
c-siphash: re-import git-subtree for 'src/c-siphash'
git subtree pull --prefix src/c-siphash git@github.com:c-util/c-siphash.git main --squash
2022-05-06 09:52:00 +02:00

21 lines
568 B
Meson

project(
'c-siphash',
'c',
default_options: [
'c_std=c11'
],
license: 'Apache',
meson_version: '>=0.60.0',
version: '1.0.0',
)
major = meson.project_version().split('.')[0]
project_description = 'Streaming-capable SipHash Implementation'
mod_pkgconfig = import('pkgconfig')
dep_cstdaux = dependency('libcstdaux-1')
add_project_arguments(dep_cstdaux.get_variable('cflags').split(' '), language: 'c')
subdir('src')
meson.override_dependency('libcsiphash-'+major, libcsiphash_dep, static: true)