[CMake] Fixing lip output library name on Darwin platforms.

llvm-svn: 246499
This commit is contained in:
Chris Bieneman 2015-08-31 22:22:18 +00:00
parent 57844d7277
commit 3b0b43c8c6
1 changed files with 3 additions and 3 deletions

View File

@ -337,14 +337,14 @@ if (APPLE)
endforeach()
if(${os}_builtin_libs)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/clang_rt.builtins_${os}.a
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libclang_rt.builtins_${os}.a
COMMAND lipo -output
${COMPILER_RT_LIBRARY_OUTPUT_DIR}/clang_rt.builtins_${os}.a
${COMPILER_RT_LIBRARY_OUTPUT_DIR}/libclang_rt.builtins_${os}.a
-create ${${os}_builtin_lipo_flags}
DEPENDS ${${os}_builtin_libs}
)
add_custom_target(clang_rt.builtins_${os}
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/clang_rt.builtins_${os}.a)
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/libclang_rt.builtins_${os}.a)
add_dependencies(builtins clang_rt.builtins_${os})
endif()
endforeach()