From: Felix Paul Kühne Date: Wed, 2 Nov 2005 12:04:54 +0000 (+0000) Subject: * fixed the compilation of libiconv on OSX X-Git-Tag: 0.9.0-test0~13417 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ca17e9b5178952996f8b257bae3cbf4a8ed6de7e;p=vlc * fixed the compilation of libiconv on OSX --- diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile index acd519f143..809da30e6c 100644 --- a/extras/contrib/src/Makefile +++ b/extras/contrib/src/Makefile @@ -387,7 +387,11 @@ ifdef HAVE_DARWIN_OS endif .iconv: libiconv +ifdef HAVE_DARWIN_OS + (cd libiconv; ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-nls && make && make install) +else (cd libiconv; CPPFLAGS="-Dssize_t=long" ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-nls && make && make install) +endif $(INSTALL_NAME) touch $@