From: Stéphane Graber Date: Tue, 14 Jun 2022 01:27:46 +0000 (-0400) Subject: meson: Fix bad strerror_r check X-Git-Tag: lxc-5.0.0~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fea6122305371ae2ffc54a6bd4805238211490f;p=thirdparty%2Flxc.git meson: Fix bad strerror_r check Signed-off-by: Stéphane Graber --- 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