[vlc-devel] [PATCH 2/2] contrib: aom: remove old headers before building

Steve Lhomme robux4 at ycbcr.xyz
Thu Jan 23 13:07:10 CET 2020


The headers are often incompatible and create compilation issues when
rebuilding.
---
 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 efc91d7ca17..efc509d6cd7 100644
--- a/contrib/src/aom/rules.mak
+++ b/contrib/src/aom/rules.mak
@@ -101,6 +101,7 @@ endif
 
 # libaom doesn't allow in-tree builds
 .aom: aom toolchain.cmake
+	rm $(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
-- 
2.17.1



More information about the vlc-devel mailing list