vlc | branch: master | Steve Lhomme <[email protected]> | 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to