[vlc-devel] [PATCH v2 06/10] win32: msi: use the detected way to handle windows pathes
Steve Lhomme
robux4 at ycbcr.xyz
Tue May 12 17:08:09 CEST 2020
Rather than hardcoding "wine winepath".
---
extras/package/win32/msi.mak | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/extras/package/win32/msi.mak b/extras/package/win32/msi.mak
index a8db35699696..aa8f41f4b97b 100644
--- a/extras/package/win32/msi.mak
+++ b/extras/package/win32/msi.mak
@@ -3,21 +3,21 @@ BUILT_SOURCES_distclean += \
extras/package/win32/msi/config.wxi
endif
-WIXPATH=`wine winepath -u 'C:\\Program Files (x86)\\Windows Installer XML v3.5\\bin'`
+WIXPATH=`$(HOST_TO_BUILD_CMD) 'C:\Program Files (x86)\Windows Installer XML v3.5\bin'`
HEAT=$(RUN_HOST_CMD) "$(WIXPATH)/heat.exe"
CANDLE=$(RUN_HOST_CMD) "$(WIXPATH)/candle.exe"
LIGHT=$(RUN_HOST_CMD) "$(WIXPATH)/light.exe"
-W_VLCDIR=`wine winepath -w '$(abs_top_builddir)/vlc-$(VERSION)'`
+W_VLCDIR=`$(PATH_TO_HOST_CMD) '$(abs_top_builddir)/vlc-$(VERSION)'`
MSIDIR=$(abs_srcdir)/extras/package/win32/msi
-W_MSIDIR=`wine winepath -w '$(MSIDIR)'`
+W_MSIDIR=`$(PATH_TO_HOST_CMD) '$(MSIDIR)'`
MSIBUILDDIR=$(abs_top_builddir)/extras/package/win32/msi
-W_MSIBUILDDIR=`wine winepath -w '$(MSIBUILDDIR)'`
+W_MSIBUILDDIR=`$(PATH_TO_HOST_CMD) '$(MSIBUILDDIR)'`
if HAVE_WIN64
MSIOUTFILE=vlc-$(VERSION)-win64.msi
else
MSIOUTFILE=vlc-$(VERSION)-win32.msi
endif
-WINE_C=`wine winepath -u c:`
+WINE_C=`$(HOST_TO_BUILD_CMD) c:`
heat: package-win-strip
$(HEAT) dir "$(W_VLCDIR)/plugins" -cg CompPluginsGroup -gg -scom -sreg -sfrag -dr APPLICATIONFOLDER -out "$(W_MSIBUILDDIR)\Plugins.fragment.wxs"
--
2.26.2
More information about the vlc-devel
mailing list