]> git.sesse.net Git - vlc/commitdiff
Makefile.am: Run install_name_tool on the module.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 26 Jul 2007 20:38:26 +0000 (20:38 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 26 Jul 2007 20:38:26 +0000 (20:38 +0000)
Makefile.am

index 8b93d7b1126a78c65a05b5a1b2b8ee8f7c3dc35d..aa3322edcb415833257d459c475bf07541f094d6 100644 (file)
@@ -585,6 +585,9 @@ VLC.app: vlc
        $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
        for i in "" `$(VLC_CONFIG) --target plugin` ; do \
          if test -n "$$i" ; \
+        install_name_tool -change /usr/local/lib/libvlc.1.dylib \
+                                  @executable_path/lib/libvlc.dylib \
+                          "`pwd`/`dirname $$i`/.libs/`basename $$i`$(LIBEXT)";
            then ln -sfn "`pwd`/`dirname $$i`/.libs/`basename $$i`$(LIBEXT)" \
                           "$(top_builddir)/VLC.app/Contents/MacOS/modules" ; \
          fi ; done