From 661249a8509fb53717edd7bbbfb85060f8eaf22f Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 16 Apr 2019 10:59:09 +0100 Subject: Fix building m_geo_maxmind with older versions of libmaxminddb. --- src/modules/extra/m_geo_maxmind.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/extra/m_geo_maxmind.cpp b/src/modules/extra/m_geo_maxmind.cpp index b7639c287..f249ecf91 100644 --- a/src/modules/extra/m_geo_maxmind.cpp +++ b/src/modules/extra/m_geo_maxmind.cpp @@ -16,8 +16,8 @@ * along with this program. If not, see . */ -/// $CompilerFlags: find_compiler_flags("libmaxminddb") -/// $LinkerFlags: find_linker_flags("libmaxminddb") +/// $CompilerFlags: find_compiler_flags("libmaxminddb" "") +/// $LinkerFlags: find_linker_flags("libmaxminddb" "-lmaxminddb") /// $PackageInfo: require_system("darwin") libmaxminddb pkg-config /// $PackageInfo: require_system("debian" "9.0") libmaxminddb-dev pkg-config -- cgit v1.2.3