Permalink
Browse files

Fix nginx linking to iconv

Building nginx 1.0.14 + mod_zip on OS X 10.7 was failing because
the generated Makefile did not include -liconv. This commit fixes
the config script to allow linking.
  • Loading branch information...
1 parent b5d3362 commit 41fb828885ba399e3f75a6cb8574934791e4447e Dave Lee committed Apr 4, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 config
View
5 config
@@ -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

0 comments on commit 41fb828

Please sign in to comment.