[vlc-devel] [PATCH v2 08/10] install: transform the plugins path for vlc-cache-gen

Steve Lhomme robux4 at ycbcr.xyz
Tue May 12 17:08:11 CEST 2020


On Windows the UNIX path given is unusable by the executable.
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 60ea3fb80b89..649418675858 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -172,7 +172,7 @@ install-exec-hook:
 		PATH="$(DESTDIR)$(bindir):$$PATH" \
 		LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
 		"$(DESTDIR)$(pkglibexecdir)/vlc-cache-gen$(EXEEXT)" \
-			 "$(DESTDIR)$(pkglibdir)/plugins" ; \
+			 `$(PATH_TO_HOST_CMD) "$(DESTDIR)$(pkglibdir)/plugins"` ; \
 	else \
 		echo "Cross-compilation: cache generation skipped!" ; \
 	fi
-- 
2.26.2



More information about the vlc-devel mailing list