This reverts commit f7a33090a9.
Unfortunately this causes a number of failures that didn't show up in my
local build.
18 lines
404 B
CMake
18 lines
404 B
CMake
add_entrypoint_library(
|
|
${LIBC_TARGET}
|
|
DEPENDS
|
|
${TARGET_LLVMLIBC_ENTRYPOINTS}
|
|
)
|
|
|
|
if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR)
|
|
set(LIBC_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE})
|
|
else()
|
|
set(LIBC_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX})
|
|
endif()
|
|
|
|
install(
|
|
TARGETS ${LIBC_TARGET}
|
|
ARCHIVE DESTINATION "${LIBC_INSTALL_LIBRARY_DIR}"
|
|
COMPONENT ${LIBC_COMPONENT}
|
|
)
|