Fix nginx linking to iconv #12

Merged
merged 1 commit into from Apr 4, 2012
+5 −0
Split
View
@@ -21,3 +21,8 @@ case "$NGX_PLATFORM" in
esac
ngx_feature_test="iconv_open(\"IBM-850\", \"ISO8859-1\");"
. auto/feature
+
+if [ $ngx_found = yes ]; then
+ CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
+ ngx_found=no
+fi