[vlc-commits] contrib: use the WINDRES variable to set the CMake cross compilation one

Steve Lhomme git at videolan.org
Mon Feb 18 10:33:35 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Feb 15 11:12:04 2019 +0100| [a360d026e36d06ae8583fb32fb116fa15be49cd7] | committer: Steve Lhomme

contrib: use the WINDRES variable to set the CMake cross compilation one

On msys2/windows it's necessary to add the .exe, so it's done in the environment

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

 contrib/src/main.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 1076a1f010..6b4a873dab 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -505,7 +505,7 @@ else
 endif
 endif
 ifdef HAVE_CROSS_COMPILE
-	echo "set(CMAKE_RC_COMPILER $(HOST)-windres)" >> $@
+	echo "set(CMAKE_RC_COMPILER $(WINDRES))" >> $@
 endif
 endif
 ifdef HAVE_DARWIN_OS



More information about the vlc-commits mailing list