[vlc-commits] contribs: hack to ensure libcdio creates proper la files
Felix Paul Kühne
git at videolan.org
Sat May 7 21:02:42 CEST 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat May 7 21:00:51 2011 +0200| [ffa096d9ee1757a446faeb57200d5a991f438b16] | committer: Felix Paul Kühne
contribs: hack to ensure libcdio creates proper la files
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ffa096d9ee1757a446faeb57200d5a991f438b16
---
extras/contrib/src/contrib-src.mak | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak
index 4eaf6bb..7d0321e 100644
--- a/extras/contrib/src/contrib-src.mak
+++ b/extras/contrib/src/contrib-src.mak
@@ -1597,7 +1597,11 @@ ifdef HAVE_MACOSX
endif
.cdio: libcdio
+ifdef HAVE_DARWIN_OS
+ (cd $<; ./configure --prefix=$(PREFIX) --without-vcdinfo --disable-shared && make && make install && sed -e 's%/usr/lib/libiconv.la%%' -i.orig $(PREFIX)/lib/libcdio.la && sed -e 's%/usr/lib/libiconv.la%%' -i.orig $(PREFIX)/lib/libiso9660.la)
+else
(cd $<; sed -e 's%@ENABLE_CPP_TRUE at SUBDIRS = C++%@ENABLE_CPP_TRUE at SUBDIRS = %' -i.orig example/Makefile.in && autoreconf -fisv && ./configure --prefix=$(PREFIX) --without-vcdinfo --disable-shared && make && make install)
+endif
touch $@
CLEAN_FILE += .cdio
More information about the vlc-commits
mailing list