mozilla: fix MacOS X plugin packaging
authorJean-Paul Saman <jpsaman@videolan.org>
Mon, 2 Feb 2009 20:37:52 +0000 (21:37 +0100)
committerJean-Paul Saman <jpsaman@videolan.org>
Mon, 2 Feb 2009 22:33:34 +0000 (23:33 +0100)
projects/mozilla/Makefile.am

index 9c3dfd5..3c9720f 100644 (file)
@@ -106,6 +106,8 @@ VLC\ Plugin.plugin: npvlc.rsrc $(lib_LTLIBRARIES)
        rm -Rf "$@"
        $(INSTALL) -d "$@/Contents/MacOS/lib"
        $(INSTALL) -d "$@/Contents/Resources"
+       $(INSTALL) .libs/npvlc.dylib "$@/Contents/MacOS/VLC Plugin"
+       dylib="$@/Contents/MacOS/VLC Plugin"; $(FIXEXECPATH);
        $(INSTALL) npvlc.rsrc "$@/Contents/Resources/VLC Plugin.rsrc"
        cp -r "$(top_srcdir)/extras/package/macosx/plugin/English.lproj" "$@/Contents/Resources/"
        cp -r "$(top_builddir)/extras/package/macosx/plugin/English.lproj" "$@/Contents/Resources/"