diff options
Diffstat (limited to 'auto/lib/geoip/conf')
| -rw-r--r-- | auto/lib/geoip/conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/auto/lib/geoip/conf b/auto/lib/geoip/conf index 53c274d54..ebd2e15cc 100644 --- a/auto/lib/geoip/conf +++ b/auto/lib/geoip/conf @@ -67,7 +67,12 @@ fi if [ $ngx_found = yes ]; then CORE_INCS="$CORE_INCS $ngx_feature_path" - CORE_LIBS="$CORE_LIBS $ngx_feature_libs" + + if [ $USE_GEOIP = YES ]; then + CORE_LIBS="$CORE_LIBS $ngx_feature_libs" + fi + + NGX_LIB_GEOIP=$ngx_feature_libs if [ $NGX_IPV6 = YES ]; then ngx_feature="GeoIP IPv6 support" |
