From 7d28be7c8a3f1f8c77620ef1d166a51065b03033 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 1 Jul 2020 23:58:12 +0100 Subject: [PATCH] Warn about broken versions of libmaxminddb. --- src/modules/extra/m_geo_maxmind.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/extra/m_geo_maxmind.cpp b/src/modules/extra/m_geo_maxmind.cpp index 8202a809b..2850e0501 100644 --- a/src/modules/extra/m_geo_maxmind.cpp +++ b/src/modules/extra/m_geo_maxmind.cpp @@ -17,7 +17,9 @@ * along with this program. If not, see . */ +/// $CompilerFlags: require_version("libmaxminddb" "0" "1.2.1") warning("The version of libmaxminddb you are using may cause a segmentation fault if given a corrupt database file!") /// $CompilerFlags: find_compiler_flags("libmaxminddb" "") + /// $LinkerFlags: find_linker_flags("libmaxminddb" "-lmaxminddb") /// $PackageInfo: require_system("arch") libmaxminddb pkgconf -- 2.39.5