[vlc-commits] contrib: fix use of 'CMAKE_AR' for iOS
Felix Paul Kühne
git at videolan.org
Thu Oct 31 17:05:23 CET 2013
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Oct 31 17:01:26 2013 +0100| [db8d2e9a8c524eead0bc9ebc80b09583d64095ad] | committer: Felix Paul Kühne
contrib: fix use of 'CMAKE_AR' for iOS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=db8d2e9a8c524eead0bc9ebc80b09583d64095ad
---
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