From 9fea6122305371ae2ffc54a6bd4805238211490f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Mon, 13 Jun 2022 21:27:46 -0400 Subject: [PATCH] meson: Fix bad strerror_r check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index d32cece63..d974a8392 100644 --- a/meson.build +++ b/meson.build @@ -421,7 +421,7 @@ have = cc.has_function('openpty', prefix: '#include ', args: '-D_GNU_SOUR srcconf.set10('HAVE_OPENPTY', have) have_func_strerror_r = cc.has_function('strerror_r', prefix: '#include ', args: '-D_GNU_SOURCE') -srcconf.set10('HAVE_STRERROR_R', have) +srcconf.set10('HAVE_STRERROR_R', have_func_strerror_r) have_func_strerror_r_char_p = false