meson: remove multi-line statement with trailing '\'
Error on meson 0.47: ``` meson.build:885:47: ERROR: Expecting colon got eol_cont. crypt_header = conf.get('HAVE_CRYPT_H') == 1 ? \ ^ ``` This seems to have been fixed in meson 0.50 after a report from https://github.com/mesonbuild/meson/issues/4720
This commit is contained in:
parent
55e11ace68
commit
06ca077ba2
|
@ -882,8 +882,7 @@ libm = cc.find_library('m')
|
||||||
libdl = cc.find_library('dl')
|
libdl = cc.find_library('dl')
|
||||||
libcrypt = cc.find_library('crypt')
|
libcrypt = cc.find_library('crypt')
|
||||||
|
|
||||||
crypt_header = conf.get('HAVE_CRYPT_H') == 1 ? \
|
crypt_header = conf.get('HAVE_CRYPT_H') == 1 ? '''#include <crypt.h>''' : '''#include <unistd.h>'''
|
||||||
'''#include <crypt.h>''' : '''#include <unistd.h>'''
|
|
||||||
foreach ident : [
|
foreach ident : [
|
||||||
['crypt_ra', crypt_header],
|
['crypt_ra', crypt_header],
|
||||||
['crypt_gensalt_ra', crypt_header]]
|
['crypt_gensalt_ra', crypt_header]]
|
||||||
|
|
Loading…
Reference in New Issue