mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-01 13:49:05 +00:00
Meta: Link librt to LibCoreMinimal on NetBSD
We were already linking librt to LibCore for shm_open and friends. Now that we build the code that uses POSIX shm into LibCoreMinimal, we need to link librt into that as well.
This commit is contained in:
parent
405ce6e5f5
commit
b5a60c0f9f
Notes:
sideshowbarker
2024-07-17 06:39:26 +09:00
Author: https://github.com/ADKaster
Commit: b5a60c0f9f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/82
1 changed files with 2 additions and 1 deletions
|
@ -347,7 +347,8 @@ add_serenity_subdirectory(Userland/Libraries/LibCore)
|
|||
target_link_libraries(LibCore PRIVATE Threads::Threads)
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
|
||||
# NetBSD has its shm_open and shm_unlink functions in librt so we need to link that
|
||||
target_link_libraries(LibCore PRIVATE librt.so)
|
||||
target_link_libraries(LibCore PRIVATE rt)
|
||||
target_link_libraries(LibCoreMinimal PRIVATE rt)
|
||||
endif()
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
|
||||
# Solaris has socket and networking related functions in two extra libraries
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue