]> git.sesse.net Git - vlc/commitdiff
- make use of cygwin rebase to optimize DLL loading, if present
authorDamien Fouilleul <damienf@videolan.org>
Mon, 18 Apr 2005 12:58:14 +0000 (12:58 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Mon, 18 Apr 2005 12:58:14 +0000 (12:58 +0000)
Makefile.am

index b38b58c1f3ef3144368274ec69713e45ca1ad73a..79cec5f44418f53067a04584786a896a40d1be39 100644 (file)
@@ -779,6 +779,10 @@ if BUILD_ACTIVEX
        cp $(top_builddir)/activex/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/activex/ ;
        $(STRIP) $(top_builddir)/vlc-${VERSION}/activex/*$(LIBEXT);
 endif
+# Rebase all those DLLs to speed up loading (need cygwin rebase)
+       if [ -x rebase ]; then \
+               find $(top_builddir)/vlc-${VERSION} -type f -name '*.dll' -print | rebase -b 0x70000000 -T -; \
+       fi
 
 package-win32-base-exe:
 # Create package