Commit 7025a1e9 authored by Damien Fouilleul's avatar Damien Fouilleul

- fixed faad2 libtool so that shared library is properly built for MacOS X

parent 23e6b8e6
...@@ -768,15 +768,13 @@ DISTCLEAN_PKG += speex-$(SPEEX_VERSION).tar.gz ...@@ -768,15 +768,13 @@ DISTCLEAN_PKG += speex-$(SPEEX_VERSION).tar.gz
faad2-$(FAAD2_VERSION).tar.bz2: faad2-$(FAAD2_VERSION).tar.bz2:
$(WGET) $(FAAD2_URL) $(WGET) $(FAAD2_URL)
faad2: faad2-$(FAAD2_VERSION).tar.bz2 faad: faad2-$(FAAD2_VERSION).tar.bz2
$(EXTRACT_BZ2) $(EXTRACT_BZ2)
(cd $@; patch -p 0 < ../Patches/faad2.patch && ./bootstrap) (cd $@; patch -p 0 < ../Patches/faad2.patch && ./bootstrap)
.faad: faad2 .faad: faad
(cd $< && $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="-O3" && make -C libfaad && make -C libfaad install) (cd $< && $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="-O3" && sed -i.orig "s/shrext_cmds/shrext/g" libtool && make -C libfaad && make -C libfaad install)
ifndef HAVE_DARWIN_OS
$(INSTALL_NAME) $(INSTALL_NAME)
endif
touch $@ touch $@
CLEAN_FILE += .faad CLEAN_FILE += .faad
......
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