[vlc-devel] [PATCH] bin: use a full path to build plugins.dat
Steve Lhomme
robux4 at videolabs.io
Mon Apr 10 08:20:54 CEST 2017
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.
--
replaces https://patches.videolan.org/patch/14583/
---
bin/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/Makefile.am b/bin/Makefile.am
index c6ad2d7..8f14a43 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
--
2.10.1.windows.1
More information about the vlc-devel
mailing list