Merge pull request #1 from urbit/bs/old-meson

Support Meson 29.
This commit is contained in:
ixv 2019-01-16 15:30:53 -08:00 committed by GitHub
commit 4f7dc3321c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

3
src/config.h.in Normal file
View File

@ -0,0 +1,3 @@
#pragma once
#mesondefine ENT_GETENTROPY
#mesondefine ENT_GE_SYSRANDOM

View File

@ -46,8 +46,11 @@ if not have_getentropy
endif
config_file = configure_file(output: 'config.h',
configuration: conf_data)
config_file = configure_file(
output: 'config.h',
input: 'config.h.in',
configuration: conf_data,
)
ent_sources = ['ent.c', config_file]