Commit c6c8b86e authored by Felix Paul Kühne's avatar Felix Paul Kühne

contribs: fixed compilation on Snow Leopard, as Apple refuses to ship...

contribs: fixed compilation on Snow Leopard, as Apple refuses to ship libiconv.la within /usr/lib any longer

'It is intended to not include the .la files in Mac OS X.  These are not required.'
parent 98e20cf8
......@@ -408,10 +408,21 @@ ifdef HAVE_WIN64
endif
patch -p0 < Patches/libiconv-autoconf-uclibc.patch
libiconv-snowleopard.tar.bz2:
$(WGET) $(LIBICONVMAC_URL)
libiconv-snowleopard: libiconv-snowleopard.tar.bz2
$(EXTRACT_BZ2)
ifdef HAVE_DARWIN_OS
ifdef HAVE_DARWIN_64
.iconv: libiconv-snowleopard
(cd libiconv-snowleopard && cp libiconv.* ../../lib/)
touch $@
else
.iconv:
touch $@
endif
else
.iconv: libiconv
(cd libiconv; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-nls && make && make install)
......
......@@ -47,6 +47,7 @@ PKGCFG_URL=$(VIDEOLAN)/testing/contrib/pkg-config-$(PKGCFG_VERSION).tar.gz
#PKGCFG_URL=http://pkgconfig.freedesktop.org/releases/pkg-config-$(PKGCFG_VERSION).tar.gz
LIBICONV_VERSION=1.9.2
LIBICONV_URL=$(GNU)/libiconv/libiconv-$(LIBICONV_VERSION).tar.gz
LIBICONVMAC_URL=$(VIDEOLAN)/testing/contrib/libiconv-snowleopard.tar.bz2
GETTEXT_VERSION=0.17
GETTEXT_URL=$(GNU)/gettext/gettext-$(GETTEXT_VERSION).tar.gz
FONTCONFIG_VERSION=2.7.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment