]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Change strerror_r test to a C program
authorFred Morcos <fred.morcos@open-xchange.com>
Thu, 7 Sep 2023 11:52:29 +0000 (13:52 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:49 +0000 (13:28 +0100)
meson/strerror/meson.build
meson/strerror/strerror_r.c [moved from meson/strerror/strerror_r.cc with 100% similarity]

index 3bc59d61245aaed416306ed002cb7823cf9097c3..0d10cf1d42144453068b66800c7343702a9a9330 100644 (file)
@@ -1,4 +1,4 @@
-prog = fs.read('strerror_r.cc')
+prog = fs.read('strerror_r.c')
 
 have_strerror_r_decl = cxx.has_header_symbol('string.h', 'strerror_r')
 have_strerror_r = cxx.has_function('strerror_r', prefix: '#include <string.h>')