[CMake] [darwin] [builtins] Should install the lipo'd builtin libraries.

On darwin we don't install the single-architecture builtin libraries, but we do need to install the lipo'd ones.

llvm-svn: 248630
This commit is contained in:
Chris Bieneman 2015-09-25 22:39:19 +00:00
parent 75c7c9ce8b
commit 905f9fce0a
1 changed files with 2 additions and 0 deletions

View File

@ -194,6 +194,8 @@ function(darwin_lipo_libs name)
add_custom_target(${name}
DEPENDS ${COMPILER_RT_LIBRARY_OUTPUT_DIR}/lib${name}.a)
add_dependencies(${LIB_PARENT_TARGET} ${name})
install(FILES ${COMPILER_RT_LIBRARY_OUTPUT_DIR}/lib${name}.a
DESTINATION ${COMPILER_RT_INSTALL_PATH})
endfunction()
# Filter out generic versions of routines that are re-implemented in