mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
Everywhere: Fully remove the separate LibM directory
This commit is contained in:
parent
bbcdd0dca0
commit
1b25c38b8b
8 changed files with 8 additions and 14 deletions
|
@ -33,7 +33,6 @@ add_subdirectory(LibJS)
|
|||
add_subdirectory(LibKeyboard)
|
||||
add_subdirectory(LibLine)
|
||||
add_subdirectory(LibLocale)
|
||||
add_subdirectory(LibM)
|
||||
add_subdirectory(LibMain)
|
||||
add_subdirectory(LibMarkdown)
|
||||
add_subdirectory(LibPartition)
|
||||
|
|
|
@ -184,3 +184,8 @@ add_dependencies(LibC LibM LibSystem LibCStatic)
|
|||
# Provide a linker script instead of various other libraries that tells everything to link against LibC.
|
||||
file(WRITE "${CMAKE_STAGING_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libpthread.so" "INPUT(libc.so)")
|
||||
file(WRITE "${CMAKE_STAGING_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libdl.so" "INPUT(libc.so)")
|
||||
|
||||
# Provide a dummy target and a linker script for LibM that tells everything to link against LibC instead.
|
||||
add_library(LibM INTERFACE)
|
||||
target_link_libraries(LibM INTERFACE LibC)
|
||||
file(WRITE "${CMAKE_STAGING_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libm.so" "INPUT(libc.so)")
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# Provide a dummy target and a linker script that tells everything to link against LibC instead.
|
||||
add_library(LibM INTERFACE)
|
||||
target_link_libraries(LibM INTERFACE LibC)
|
||||
file(WRITE "${CMAKE_STAGING_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libm.so" "INPUT(libc.so)")
|
Loading…
Add table
Add a link
Reference in a new issue