]> git.sesse.net Git - vlc/commitdiff
Contrib: vpx small fix
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 21 May 2010 20:21:51 +0000 (22:21 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 21 May 2010 20:22:15 +0000 (22:22 +0200)
extras/contrib/src/Makefile

index 9441a4149857d605341e066ce30eb9ef4e0335c1..c0f6000218465762f40975076c951e1a73a1c338 100644 (file)
@@ -919,9 +919,7 @@ libvpx-$(VPX_VERSION).tar.bz2:
 
 vpx: libvpx-$(VPX_VERSION).tar.bz2
        $(EXTRACT_BZ2)
-ifneq ($(HOST),$(BUILD))
        patch -p0 < Patches/libvpx-cross.patch
-endif
 
 ifdef HAVE_WIN32
 VPX_TARGET=x86-win32-gcc
@@ -932,6 +930,7 @@ endif
 .vpx: vpx
        (cd $<; ./configure --target=$(VPX_TARGET) --disable-install-bins --disable-install-srcs --disable-install-libs --disable-examples && XCC=$(CC) XNM=$(NM) XSTRIP=$(STRIP) make && make install)
        (cd $<; cp vp8/*.h vpx_codec/*.h vpx_port/*.h $(PREFIX)/include) # Of course, why the hell would one expect it to be listed or in make install?
+       rm $(PREFIX)/include/config.h
        (cd $<; $(RANLIB) libvpx.a && cp libvpx.a $(PREFIX)/lib) # Of course, why the hell would one expect it to be listed or in make install?
        touch $@