Skip to content
Snippets Groups Projects
Verified Commit be6f5981 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

daemon/lua/meson.build: disable kres_gen_test on cross

I considered switching it to our usual 3-option combo,
but that way didn't really seem useful.
parent 5ebd38c2
Branches
Tags
1 merge request!1198daemon/lua/meson.build: disable kres_gen_test on cross
Pipeline #86459 passed with stages
in 1 hour, 13 minutes, and 55 seconds
......@@ -56,8 +56,9 @@ run_target( # run manually to re-generate kres-gen.lua
# A simple config test: check that sizes of some structures match
# in C and pre-generated lua bindings.
# The point is that regeneration is quite expensive in time and dependencies,
# but this basic sanity check could be ran always.
if get_option('kres_gen_test')
# but this basic sanity check could be ran always, except for cross compilation,
# as we *run* luajit to find out the real sizes.
if get_option('kres_gen_test') and not meson.is_cross_build()
types_to_check = {
'time_t' : '#include <sys/time.h>',
'struct timeval' : '#include <sys/time.h>',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment