From: Anita Zhang Date: Mon, 21 Sep 2020 18:41:17 +0000 (-0700) Subject: meson: remove multi-line statement with trailing '\' X-Git-Tag: v247-rc1~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06ca077ba2768a985a5f34926dcf7fe0c148a8f1;p=thirdparty%2Fsystemd.git 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 --- diff --git a/meson.build b/meson.build index ce913c2ff6d..3607035bd2e 100644 --- a/meson.build +++ b/meson.build @@ -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 ''' : '''#include ''' +crypt_header = conf.get('HAVE_CRYPT_H') == 1 ? '''#include ''' : '''#include ''' foreach ident : [ ['crypt_ra', crypt_header], ['crypt_gensalt_ra', crypt_header]]