[vlc-devel] [PATCH 3/7] package/macosx: skip cache generation when cross-compiling
Felix Paul Kühne
fkuehne at videolan.org
Mon Nov 30 19:18:42 CET 2020
From: Felix Paul Kühne <felix at feepk.net>
---
extras/package/macosx/package.mak | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index 1423d7874e..b56d68b372 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -61,7 +61,11 @@ endif
## Install binary
cp $(prefix)/bin/vlc $@/Contents/MacOS/VLC
## Generate plugin cache
- bin/vlc-cache-gen $@/Contents/MacOS/plugins
+ if test "$(build)" = "$(host)"; then \
+ bin/vlc-cache-gen $@/Contents/MacOS/plugins ; \
+ else \
+ echo "Cross-compilation: cache generation skipped!" ; \
+ fi
find $@ -type d -exec chmod ugo+rx '{}' \;
find $@ -type f -exec chmod ugo+r '{}' \;
--
2.24.3 (Apple Git-128)
More information about the vlc-devel
mailing list