[vlc-commits] contrib: fix use of 'CMAKE_AR' for iOS

Felix Paul Kühne git at videolan.org
Thu Oct 31 17:16:41 CET 2013


vlc/vlc-2.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Oct 31 17:01:26 2013 +0100| [e0b02e14019ba62722e6b15526f20368fdf1acaa] | committer: Felix Paul Kühne

contrib: fix use of 'CMAKE_AR' for iOS

(cherry picked from commit db8d2e9a8c524eead0bc9ebc80b09583d64095ad)

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

 contrib/src/main.mak |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 2b6bb9d..4cc0a8f 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -394,6 +394,9 @@ ifdef HAVE_DARWIN_OS
 	echo "set(CMAKE_C_FLAGS $(CFLAGS))" >> $@
 	echo "set(CMAKE_CXX_FLAGS $(CFLAGS))" >> $@
 	echo "set(CMAKE_LD_FLAGS $(LDFLAGS))" >> $@
+ifdef HAVE_IOS
+	echo "set(CMAKE_AR ar CACHE FILEPATH "Archiver")" >> $@
+endif
 endif
 ifdef HAVE_CROSS_COMPILE
 	echo "set(_CMAKE_TOOLCHAIN_PREFIX $(HOST)-)" >> $@



More information about the vlc-commits mailing list