vlc | branch: master | Steve Lhomme <[email protected]> | Mon Apr 10 08:20:54 
2017 +0200| [2c799b6fd77c1a37ae98d93e7449c7d8260febf7] | committer: 
Jean-Baptiste Kempf

bin: use a full path to build plugins.dat

This needed on Windows as LoadLibraryEx doesn't like relative pathes and thus
building on Windows doesn't go to the end.

The resulting pathes in plugins.dat are still relative and so are the ones
resulting from `make package-win-common` that can be distributed.

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c799b6fd77c1a37ae98d93e7449c7d8260febf7
---

 bin/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/Makefile.am b/bin/Makefile.am
index c6ad2d7e0a..8f14a43d91 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -116,7 +116,7 @@ endif
 ../modules/plugins.dat: vlc-cache-gen$(EXEEXT)
        $(AM_V_at)rm -f ../modules/plugins.dat
        $(AM_V_GEN)if test "$(build)" = "$(host)"; then \
-               ./vlc-cache-gen$(EXEEXT) ../modules ; \
+               ./vlc-cache-gen$(EXEEXT) `realpath ../modules` ; \
        else \
                echo "Cross-compilation: cache generation skipped!" ; \
        fi

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

Reply via email to