[vlc-devel] [PATCH 01/14] contrib: set archive tool for cmake on OSX too

Vittorio Giovara vittorio.giovara at gmail.com
Mon Jun 30 21:04:21 CEST 2014


---
 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))" >> $@
-- 
1.8.5.2 (Apple Git-48)




More information about the vlc-devel mailing list