From 06ca077ba2768a985a5f34926dcf7fe0c148a8f1 Mon Sep 17 00:00:00 2001 From: Anita Zhang Date: Mon, 21 Sep 2020 11:41:17 -0700 Subject: [PATCH] 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 --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index ce913c2ff6..3607035bd2 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]]