npapi-vlc | branch: master | Felix Paul Kühne <[email protected]> | Tue Jan 
28 18:37:11 2014 +0100| [9d60b056cb3b78bb61e66d471656c239a8dd322a] | committer: 
Felix Paul Kühne

npapi/makefile: fix linking libvlc for OSX

This allows the plugin to be installed in the user directory as well in 
addition to the system library folder (wow..)

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

 npapi/Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/npapi/Makefile.am b/npapi/Makefile.am
index a7feabc..9877f9b 100644
--- a/npapi/Makefile.am
+++ b/npapi/Makefile.am
@@ -163,6 +163,8 @@ VLC-Plugin.plugin: $(lib_LTLIBRARIES)
        $(INSTALL) "$(top_builddir)/npapi/.libs/npvlc.dylib" 
"$(top_builddir)/VLC-Plugin.plugin/Contents/MacOS/"
        mv $(top_builddir)/VLC-Plugin.plugin/Contents/MacOS/npvlc.dylib 
"$(top_builddir)/VLC-Plugin.plugin/Contents/MacOS/VLC-Plugin"
        chmod +x "$(top_builddir)/VLC-Plugin.plugin/Contents/MacOS/VLC-Plugin"
+       install_name_tool -change $(LIBVLC_PREFIX)/lib/libvlc.5.dylib 
@loader_path/lib/libvlc.5.dylib 
$(top_builddir)/VLC-Plugin.plugin/Contents/MacOS/VLC-Plugin
+       install_name_tool -change $(LIBVLC_PREFIX)/lib/libvlccore.7.dylib 
@loader_path/lib/libvlccore.7.dylib 
$(top_builddir)/VLC-Plugin.plugin/Contents/MacOS/VLC-Plugin
        find "$(top_builddir)/VLC-Plugin.plugin" -type d -exec chmod ugo+rx 
'{}' \;
        find "$(top_builddir)/VLC-Plugin.plugin" -type f -exec chmod ugo+r '{}' 
\;
 

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

Reply via email to