meson: fix features requiring >= 1.0.0 to keep minimum 0.61.0

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2026-06-09 15:36:54 +02:00 • committed by Enrico Weigelt
commit b158f35a6d
2 changed files with 4 additions and 3 deletions

View file

@ -207,8 +207,9 @@ conf_data.set(
'BSD44SOCKETS',
cc.has_member(
'struct sockaddr_in', 'sin_len',
prefix: ['#include <sys/types.h>', '#include <sys/socket.h>',
'#include <netinet/in.h>'],
prefix: '#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>',
) ? '1' : false,
description: 'Define to 1 if `struct sockaddr_in\' has a `sin_len\' member',
)

View file

@ -22,7 +22,7 @@ if pytest.found()
endif
# Tell the test suite if the server was built with AddressSanitizer
if 'address' in get_option('b_sanitize')
if get_option('b_sanitize').contains('address')
pyxtest_env.set('XSERVER_ASAN', '1')
endif