vlc | branch: master | David Fuhrmann <[email protected]> | Wed Mar 27 
19:30:39 2019 +0100| [ec108a8cc29ae37597b7450dd9378eb3815c051d] | committer: 
David Fuhrmann

macOS packaging: Set VLC_LIB_PATH for vlc-cache-gen call

Previously, both the installation dir and the plugins dir in VLC.app
were scanned. This lead to some objc warning due to having the same
objects in multiple currently loaded libraries.

This is just a cosmetic change to avoid the warnings, it should not
have any effect on the written plugin cache.

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

 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 fa2a9ee4ff..e3d78e1b50 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -52,7 +52,7 @@ endif
        cp $(prefix)/bin/vlc $@/Contents/MacOS/VLC
        install_name_tool -rpath "$(libdir)" "@executable_path/../Frameworks/" 
$@/Contents/MacOS/VLC
        ## Generate plugin cache
-       bin/vlc-cache-gen $@/Contents/Frameworks/plugins
+       VLC_LIB_PATH="$@/Contents/Frameworks" bin/vlc-cache-gen 
$@/Contents/Frameworks/plugins
        find $@ -type d -exec chmod ugo+rx '{}' \;
        find $@ -type f -exec chmod ugo+r '{}' \;
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to