c: Implement the C implementation of the bhash module

This commit is contained in:
2021-11-14 09:15:55 +01:00
parent 560db14a85
commit 67ec1180dd
4 changed files with 126 additions and 0 deletions

12
c/bhash/meson.build Normal file
View File

@ -0,0 +1,12 @@
cc = meson.get_compiler('c')
bhash_inc = include_directories('inc')
bhash_lib = static_library(
'bhash',
['src/bhash.c'],
include_directories : bhash_inc,
dependencies: [ cc.find_library('m', required: false) ])
bhash_dep = declare_dependency(link_with : bhash_lib, include_directories : bhash_inc)