[vlc-commits] commit: Contribs: only patch CDDB when needed (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Tue Nov 9 12:54:37 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Nov  9 12:53:36 2010 +0100| [d529bcc3a7879fcb3d2a9d6342fb5d9b938152aa] | committer: Jean-Baptiste Kempf 

Contribs: only patch CDDB when needed

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d529bcc3a7879fcb3d2a9d6342fb5d9b938152aa
---

 extras/contrib/src/contrib-src.mak |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak
index 84268d7..71318e7 100644
--- a/extras/contrib/src/contrib-src.mak
+++ b/extras/contrib/src/contrib-src.mak
@@ -1518,11 +1518,13 @@ libcddb-$(CDDB_VERSION).tar.bz2:
 
 libcddb: libcddb-$(CDDB_VERSION).tar.bz2
 	$(EXTRACT_BZ2)
+ifneq ($(HOST),$(BUILD))
 	(cd $@; patch -p0 < ../Patches/libcddb-cross.patch )
+	(cd $@; autoreconf -fisv)
+endif
 ifdef HAVE_WIN32
 	(cd $@; patch -p0 < ../Patches/libcddb-win32.patch )
 endif
-	(cd $@; autoreconf -fisv)
 
 ifdef HAVE_WIN32
 .cddb: libcddb .regex



More information about the vlc-commits mailing list