Commit 1dd5ce2e authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fix packaging if libbluray is not installed

parent 2b110e2c
......@@ -50,7 +50,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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment