[vlc-commits] contrib: set archive tool for cmake on OSX too

Vittorio Giovara git at videolan.org
Tue Jul 1 09:45:14 CEST 2014


vlc | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Mon Jun 30 15:04:21 2014 -0400| [3ba6497f6fa3ef219d387a79f1c4552071313c44] | committer: Rafaël Carré

contrib: set archive tool for cmake on OSX too

Signed-off-by: Rafaël Carré <funman at videolan.org>

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

 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 bc8743f..dd2bd25 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -413,8 +413,8 @@ 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")" >> $@
+ifdef HAVE_IOS
 	echo "set(CMAKE_OSX_SYSROOT $(IOS_SDK))" >> $@
 else
 	echo "set(CMAKE_OSX_SYSROOT $(MACOSX_SDK))" >> $@



More information about the vlc-commits mailing list