diff options
| author | 2016-09-11 21:19:28 +0100 | |
|---|---|---|
| committer | 2016-09-16 04:23:56 +0100 | |
| commit | 806e57433a38193ae14942ee60f573fe47f4b643 (patch) | |
| tree | d02a60dca483d429505f77d74fb349552f57f7ff /src/modules/extra/m_geoip.cpp | |
| parent | Fix print_format breaking when formatting empty strings. (diff) | |
Rewrite the build system directive parser.
Diffstat (limited to 'src/modules/extra/m_geoip.cpp')
| -rw-r--r-- | src/modules/extra/m_geoip.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modules/extra/m_geoip.cpp b/src/modules/extra/m_geoip.cpp index 967c6a761..564599bf8 100644 --- a/src/modules/extra/m_geoip.cpp +++ b/src/modules/extra/m_geoip.cpp @@ -17,6 +17,11 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/// $CompilerFlags: find_compiler_flags("geoip" "") +/// $LinkerFlags: find_linker_flags("geoip" "-lGeoIP") + +/// $PackageInfo: require_system("darwin") geoip pkg-config +/// $PackageInfo: require_system("ubuntu") libgeoip-dev pkg-config #include "inspircd.h" #include "xline.h" @@ -27,8 +32,6 @@ # pragma comment(lib, "GeoIP.lib") #endif -/* $LinkerFlags: -lGeoIP */ - class ModuleGeoIP : public Module { LocalStringExt ext; |
