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

Steve Lhomme git at videolan.org
Sat Feb 15 13:11:12 CET 2020


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jan 23 13:06:49 2020 +0100| [5f0ac1bbca93969586447cff1c0a2d8051f6b0d1] | committer: Jean-Baptiste Kempf

contrib: vpx: remove old headers before building

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

(cherry picked from commit 49948654522508113c7df75b9a422d348f51f0f7)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 f85a86001d..7e899d898e 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -170,6 +170,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