mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-14 05:14:45 +00:00
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:
parent
69705d1291
commit
b158f35a6d
2 changed files with 4 additions and 3 deletions
|
|
@ -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',
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue