]> git.sesse.net Git - vlc/commitdiff
* fixed the compilation of libiconv on OSX
authorFelix Paul Kühne <fkuehne@videolan.org>
Wed, 2 Nov 2005 12:04:54 +0000 (12:04 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Wed, 2 Nov 2005 12:04:54 +0000 (12:04 +0000)
extras/contrib/src/Makefile

index acd519f143d72fdcad6f7c3671d7a3861936e7f1..809da30e6c48039ad07335a5242a78c18abb8e90 100644 (file)
@@ -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 $@