libiconv: Use the new-style signature for iconv() to match upstream MinGW
commita0c9335618b3da3b5194424896b7a457e65bbe0e
authorSebastian Schuberth <sschuberth@gmail.com>
Wed, 23 Nov 2011 13:41:29 +0000 (23 14:41 +0100)
committerSebastian Schuberth <sschuberth@gmail.com>
Wed, 23 Nov 2011 13:55:32 +0000 (23 14:55 +0100)
tree726d0c55793ed9789c57d2c8e61b6c1434f78bdf
parentfcf334a96d4f1017eee563b3955c407380bf2bb3
libiconv: Use the new-style signature for iconv() to match upstream MinGW

If mingw32-libiconv is installed via minigw-get, iconv() as declared in
iconv.h uses the new-style non-const inbuf as second argument. This is
achieved by exporting some automake variables in libiconv-*.mgwport. Do it
the same way here, too, so that we can have OLD_ICONV turned off when
compiling Git either in msysGit or mingwGitDevEnv.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
src/libiconv/release.sh