~roseh/libuserevents

e135d42c98700d37ca21d028b6fb3684b52590bb — Rose Hudson 7 months ago efb61c2 main
meson: check for linux/user_events.h
1 files changed, 2 insertions(+), 0 deletions(-)

M meson.build
M meson.build => meson.build +2 -0
@@ 1,5 1,7 @@
project('libuserevents', 'c', version : '0.1.0')

meson.get_compiler('c').has_header('linux/user_events.h', required : true)

libuserevents = library('userevents', 'userevents.c', soversion : '0', install : true)
install_headers('userevents.h')
executable('example', 'example.c', link_with : libuserevents)