[vlc-commits] macosx: fix packaging if libbluray is not installed

Felix Paul Kühne git at videolan.org
Sun Jun 10 10:35:48 CEST 2018


vlc/vlc-3.0 | branch: master | Felix Paul Kühne <felix at feepk.net> | Sat Jun  9 11:48:42 2018 +0200| [0b392c4cff9c1a4d8cfdf422f3b2e3f5a59ff132] | committer: Felix Paul Kühne

macosx: fix packaging if libbluray is not installed

(cherry picked from commit 1dd5ce2e9c96217ca8f05d58e1d3fb525ec8ba5c)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=0b392c4cff9c1a4d8cfdf422f3b2e3f5a59ff132
---

 extras/package/macosx/package.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index 06db18cd2d..4f15f62fc6 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -57,7 +57,7 @@ endif
 	mkdir -p $@/Contents/MacOS/plugins
 	find $(prefix)/lib/vlc/plugins -name 'lib*_plugin.dylib' -maxdepth 2 -exec cp -a {} $@/Contents/MacOS/plugins \;
 	## Copy libbluray jar
-	find "$(CONTRIB_DIR)/share/java/" -name 'libbluray-j2se-*.jar' -maxdepth 1 -exec cp -a {} $@/Contents/MacOS/plugins \;
+	find "$(CONTRIB_DIR)/share/java/" -name 'libbluray-j2se-*.jar' -maxdepth 1 -exec cp -a {} $@/Contents/MacOS/plugins \; || true
 	## Install binary
 	cp $(prefix)/bin/vlc $@/Contents/MacOS/VLC
 	## Generate plugin cache



More information about the vlc-commits mailing list