aboutsummaryrefslogtreecommitdiff
path: root/libc/startup/linux/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libc/startup/linux/CMakeLists.txt')
-rw-r--r--libc/startup/linux/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/startup/linux/CMakeLists.txt b/libc/startup/linux/CMakeLists.txt
index 39bcca9..a287bc4 100644
--- a/libc/startup/linux/CMakeLists.txt
+++ b/libc/startup/linux/CMakeLists.txt
@@ -131,7 +131,8 @@ foreach(target IN LISTS startup_components)
set(fq_target_name libc.startup.linux.${target})
add_dependencies(libc-startup ${fq_target_name})
install(FILES $<TARGET_OBJECTS:${fq_target_name}>
- DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ DESTINATION ${LIBC_INSTALL_LIBRARY_DIR}
RENAME $<TARGET_PROPERTY:${fq_target_name},OUTPUT_NAME>
+ EXCLUDE_FROM_ALL
COMPONENT libc)
endforeach()