summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-07-01 23:58:12 +0100
committerSadie Powell <sadie@witchery.services>2020-07-01 23:58:12 +0100
commit7d28be7c8a3f1f8c77620ef1d166a51065b03033 (patch)
tree95a41582a94fa7d05b2096f08be91bd7b8b87329
parent355d51770e9a6d868eab7aa5442f4c0ac08a0046 (diff)
Warn about broken versions of libmaxminddb.
-rw-r--r--src/modules/extra/m_geo_maxmind.cpp2
1 files changed, 2 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
*/
+/// $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