mirror of
https://github.com/systemd/systemd
synced 2024-10-07 00:30:59 +00:00
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')
|
||||
libcrypt = cc.find_library('crypt')
|
||||
|
||||
crypt_header = conf.get('HAVE_CRYPT_H') == 1 ? \
|
||||
'''#include <crypt.h>''' : '''#include <unistd.h>'''
|
||||
crypt_header = conf.get('HAVE_CRYPT_H') == 1 ? '''#include <crypt.h>''' : '''#include <unistd.h>'''
|
||||
foreach ident : [
|
||||
['crypt_ra', crypt_header],
|
||||
['crypt_gensalt_ra', crypt_header]]
|
||||
|
|
Loading…
Reference in a new issue