[vlc-devel] [PATCH 11/19] contrib: libarchive: don't force a path with windows.h on other targets than Android

Steve Lhomme robux4 at videolabs.io
Wed Jun 14 14:02:00 CEST 2017


---
 contrib/src/libarchive/rules.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/src/libarchive/rules.mak b/contrib/src/libarchive/rules.mak
index 0145e49036..e2c309f0cf 100644
--- a/contrib/src/libarchive/rules.mak
+++ b/contrib/src/libarchive/rules.mak
@@ -17,7 +17,9 @@ $(TARBALLS)/libarchive-$(LIBARCHIVE_VERSION).tar.gz:
 libarchive: libarchive-$(LIBARCHIVE_VERSION).tar.gz .sum-libarchive
 	$(UNPACK)
 	$(APPLY) $(SRC)/libarchive/0001-Fix-build-failure-without-STATVFS.patch
+ifdef HAVE_ANDROID
 	$(APPLY) $(SRC)/libarchive/android.patch
+endif
 ifdef HAVE_WINSTORE
 	$(APPLY) $(SRC)/libarchive/no-windows-files.patch
 endif
-- 
2.12.1



More information about the vlc-devel mailing list