1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00

contrib: libarchive: don't force a path with windows.h on other targets than Android

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
This commit is contained in:
Steve Lhomme 2017-06-14 14:02:00 +02:00 committed by Hugo Beauzée-Luyssen
parent 601a0ced09
commit 875f844c65

View File

@ -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