From: RĂ©mi Denis-Courmont Date: Mon, 21 Apr 2008 19:45:49 +0000 (+0300) Subject: Same as previous commit X-Git-Tag: 0.9.0-test0~1378 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=aec97d0619dd79d8116d9614121305c3c9f8bba4;p=vlc Same as previous commit --- diff --git a/projects/mozilla/Makefile.am b/projects/mozilla/Makefile.am index 2312935b3b..0b818b0f71 100644 --- a/projects/mozilla/Makefile.am +++ b/projects/mozilla/Makefile.am @@ -132,10 +132,11 @@ VLC\ Plugin.plugin: npvlc.rsrc $(lib_LTLIBRARIES) cp -r "$(top_srcdir)/extras/package/macosx/plugin/English.lproj" "$@/Contents/Resources/" $(INSTALL) "$(top_srcdir)/extras/package/macosx/plugin/Info.plist" "$@/Contents/Info.plist" $(INSTALL) -d "$@/Contents/MacOS/modules" - for i in "" `$(VLC_CONFIG) --target plugin` ; do \ + find $(top_srcdir)/modules/ -name '*_plugin.$(LIBEXT)' | \ + while read i; do \ if test -n "$$i" ; then \ - dylib="$@/Contents/MacOS/modules/`basename $$i$(LIBEXT)`"; \ - $(INSTALL) "`dirname $$i`/.libs/`basename $$i`$(LIBEXT)" "$$dylib"; \ + dylib="$@/Contents/MacOS/modules/`basename $$i`"; \ + $(INSTALL) "$$i" "$$dylib"; \ install_name_tool -change "$(libdir)/libvlc.1.dylib" \ "@executable_path/lib/libvlc.dylib" "$$dylib"; \ $(FIXEXECPATH) ; \