commit 52f48a90f598cca6058cd58ef6ef4d919c745d9f
parent d575f2146d49e919257eee80a94ca7fc93e4d95e
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 4 Apr 2021 11:27:08 +0200
Define GEOIP2DB_CITY and GEOIP2DB_ASN macros in build.conf.
This allows specifying custom names for MMDB databases.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/conf/build.conf b/conf/build.conf
@@ -11,6 +11,8 @@
# The flags below are shared between flavors
cflags=-std=c99 -D_DEFAULT_SOURCE -D_FORTIFY_SOURCE=2 -O2
cflags=-DGEOIP2DIR="/var/db/GeoIP/"
+cflags=-DGEOIP2DB_CITY="GeoLite2-City.mmdb"
+cflags=-DGEOIP2DB_ASN="GeoLite2-ASN.mmdb"
cflags=-Wall -Wextra -pedantic -Wmissing-declarations
cflags=-Wshadow -Wstrict-prototypes -Wmissing-prototypes
cflags=-Wpointer-arith -Wcast-qual -Wsign-compare