From: Fred Morcos Date: Wed, 30 Aug 2023 10:22:14 +0000 (+0200) Subject: Meson: Use --version instead of --cc_version with mysql_config X-Git-Tag: rec-5.1.0-alpha1~80^2~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6517817bbcdb551290e84cb0887194e712a23bcb;p=thirdparty%2Fpdns.git Meson: Use --version instead of --cc_version with mysql_config --- diff --git a/meson/mysql/meson.build b/meson/mysql/meson.build index 36d6430a03..e57c164f71 100644 --- a/meson/mysql/meson.build +++ b/meson/mysql/meson.build @@ -15,7 +15,7 @@ if not dep_mysql.found() mysql_ldflags_res = run_command(mysql_config, '--libs', check: true) mysql_ldflags = mysql_ldflags_res.stdout().strip().split() - mysql_version_res = run_command(mysql_config, '--cc_version', check: true) + mysql_version_res = run_command(mysql_config, '--version', check: false) mysql_version = mysql_version_res.stdout().strip() dep_mysql = declare_dependency(