Fix libtwolame contrib:
authorChristophe Mutricy <xtophe@videolan.org>
Sun, 7 Jan 2007 16:04:18 +0000 (16:04 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sun, 7 Jan 2007 16:04:18 +0000 (16:04 +0000)
*download the missing file
*build only the lib

extras/contrib/src/Makefile

index 0647710..faa05e6 100644 (file)
@@ -1453,7 +1453,10 @@ ifdef HAVE_DARWIN_OS
 endif
 
 .twolame: twolame
-       (cd twolame; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install)
+ifdef HAVE_WIN32
+       (cd twolame/win32; wget "http://twolame.svn.sourceforge.net/viewvc/*checkout*/twolame/trunk/win32/winutil.h")
+endif  
+       (cd twolame; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && cd libtwolame &&  make && make install)
        $(INSTALL_NAME)
        touch $@