[vlc-commits] contrib: set the AR variable explicitly in CMake
Steve Lhomme
git at videolan.org
Tue Nov 27 13:52:38 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Nov 27 09:36:00 2018 +0100| [3c54c93f14a74ece6747e6a98d5d4aa6f2d46196] | committer: Steve Lhomme
contrib: set the AR variable explicitly in CMake
It doesn't inherit it properly in MSys2 (at least) and fails to build.
It shouldn't cause any problems on system where it already works.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3c54c93f14a74ece6747e6a98d5d4aa6f2d46196
---
contrib/src/main.mak | 2 ++
1 file changed, 2 insertions(+)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index d3616b5a23..06bc95b80a 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -519,6 +519,8 @@ ifdef HAVE_IOS
else
echo "set(CMAKE_OSX_SYSROOT $(MACOSX_SDK))" >> $@
endif
+else
+ echo "set(CMAKE_AR $(AR) CACHE FILEPATH "Archiver")" >> $@
endif
ifdef HAVE_CROSS_COMPILE
echo "set(_CMAKE_TOOLCHAIN_PREFIX $(HOST)-)" >> $@
More information about the vlc-commits
mailing list