[vlc-commits] bin: use a full path to build plugins.dat

Steve Lhomme git at videolan.org
Wed Apr 12 10:37:35 CEST 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | 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 <jb at videolan.org>

> 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



More information about the vlc-commits mailing list