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

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


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

contrib: aom: 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=c9a5e551ba556ebab9e8bfaf1814bd0ed64f9cfe
---

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

diff --git a/contrib/src/aom/rules.mak b/contrib/src/aom/rules.mak
index ee1df0b77e..a9a5090925 100644
--- a/contrib/src/aom/rules.mak
+++ b/contrib/src/aom/rules.mak
@@ -88,6 +88,7 @@ endif
 
 # libaom doesn't allow in-tree builds
 .aom: aom toolchain.cmake
+	rm -rf $(PREFIX)/include/aom
 	cd $< && rm -rf aom_build && mkdir -p aom_build
 	cd $</aom_build && LDFLAGS="$(AOM_LDFLAGS)" $(HOSTVARS) $(CMAKE) ../ $(AOM_CONF)
 	cd $< && $(MAKE) -C aom_build



More information about the vlc-commits mailing list