]> granicus.if.org Git - clang/commitdiff
Fix LIBCLANG_LINK_FLAGS for Darwin.
authorOscar Fuentes <ofv@wanadoo.es>
Mon, 14 Mar 2011 14:32:16 +0000 (14:32 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Mon, 14 Mar 2011 14:32:16 +0000 (14:32 +0000)
The previous syntax created a list with the usual semicolon as
separator, which breaks the link command.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127579 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CMakeLists.txt

index 88b8ff28ab05e0a8fef92e34c6a99747f50c0b01..44ac38ff1a269f976b8833b8249210ee75fe1b19 100644 (file)
@@ -38,8 +38,8 @@ if( LLVM_ENABLE_PIC )
     DEFINE_SYMBOL _CINDEX_LIB_)
 
   if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
-    set(LIBCLANG_LINK_FLAGS "-Wl,-compatibility_version -Wl,1"
-      " -Wl,-dead_strip -Wl,-seg1addr -Wl,0xE0000000")
+    set(LIBCLANG_LINK_FLAGS
+      "-Wl,-compatibility_version -Wl,1 -Wl,-dead_strip -Wl,-seg1addr -Wl,0xE0000000")
     set_target_properties(libclang
       PROPERTIES
       LINK_FLAGS "${LIBCLANG_LINK_FLAGS}"