mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Fix libgeoip lookup during the build
This commit is contained in:
parent
52c419df69
commit
218eab6417
@ -103,17 +103,17 @@ else
|
||||
if test -e "${x}/include/geoip_parse.h"; then
|
||||
geoip_inc_path="${x}/include"
|
||||
break
|
||||
elif test -e "${x}/geoip_parse.h"; then
|
||||
elif test -e "${x}/GeoIPCity.h"; then
|
||||
geoip_inc_path="${x}"
|
||||
break
|
||||
fi
|
||||
|
||||
dnl # Check some sub-paths as well
|
||||
for geoip_pkg_name in ${geoip_lib_name} ${GEOIP_PKGNAMES}; do
|
||||
if test -e "${x}/include/${geoip_pkg_name}/geoip_parse.h"; then
|
||||
if test -e "${x}/include/${geoip_pkg_name}/GeoIPCity.h"; then
|
||||
geoip_inc_path="${x}/include"
|
||||
break
|
||||
elif test -e "${x}/${geoip_pkg_name}/geoip_parse.h"; then
|
||||
elif test -e "${x}/${geoip_pkg_name}/GeoIPCity.h"; then
|
||||
geoip_inc_path="${x}"
|
||||
break
|
||||
else
|
||||
|
@ -186,6 +186,7 @@ libmodsecurity_la_CPPFLAGS = \
|
||||
-fPIC \
|
||||
-O0 \
|
||||
-I ../headers \
|
||||
$(GEOIP_CFLAGS) \
|
||||
$(PCRE_CPPFLAGS)
|
||||
|
||||
libmodsecurity_la_LIBADD = \
|
||||
|
Loading…
x
Reference in New Issue
Block a user