[vlc-commits] contrib: vpx: remove old headers before building

Steve Lhomme git at videolan.org
Thu Jan 23 14:40:00 CET 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jan 23 13:06:49 2020 +0100| [49948654522508113c7df75b9a422d348f51f0f7] | committer: Steve Lhomme

contrib: vpx: remove old headers before building

The headers are often incompatible and create compilation issues when
rebuilding.

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

 contrib/src/vpx/rules.mak | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index a461c61d59..8576e27c6e 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -158,6 +158,7 @@ endif
 endif
 
 .vpx: libvpx
+	rm -rf $(PREFIX)/include/vpx
 	cd $< && LDFLAGS="$(VPX_LDFLAGS)" CROSS=$(VPX_CROSS) $(VPX_HOSTVARS) ./configure --target=$(VPX_TARGET) \
 		$(VPX_CONF) --prefix=$(PREFIX)
 	cd $< && $(MAKE)



More information about the vlc-commits mailing list