sm: Avoid double-free on iconv failure
[gnupg.git] / autogen.sh
index b81a6b2..605babf 100755 (executable)
@@ -94,6 +94,7 @@ if test "$1" = "--build-w32"; then
             --with-zlib=${w32root} \
             --with-regex=${w32root} \
              --with-pth-prefix=${w32root} \
+             --with-libiconv-prefix=${w32root} \
              --with-adns=${w32root} "$@"
     rc=$?
     exit $rc