summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/libgd
diff options
context:
space:
mode:
Diffstat (limited to 'auto/lib/libgd')
-rw-r--r--auto/lib/libgd/conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/auto/lib/libgd/conf b/auto/lib/libgd/conf
index ff99054db..6e4e91cf0 100644
--- a/auto/lib/libgd/conf
+++ b/auto/lib/libgd/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_LIBGD = YES ]; then
+ CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
+ fi
+
+ NGX_LIB_LIBGD=$ngx_feature_libs
else