mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00:00
Meta: Link AK to libexecinfo on BSDs and Haiku
This requirement was missed when AK was split into its own library
in 5945cdc054
This commit is contained in:
parent
a8a1d8746e
commit
5a1944ce64
Notes:
sideshowbarker
2024-07-17 02:28:18 +09:00
Author: https://github.com/ADKaster
Commit: 5a1944ce64
Pull-request: https://github.com/SerenityOS/serenity/pull/23362
Issue: https://github.com/SerenityOS/serenity/issues/23360
Reviewed-by: https://github.com/trflynn89 ✅
1 changed files with 4 additions and 4 deletions
|
@ -350,6 +350,10 @@ install(TARGETS LibC LibCrypt LibSystem NoCoverage EXPORT LagomTargets)
|
|||
# AK
|
||||
add_serenity_subdirectory(AK)
|
||||
lagom_lib(AK ak SOURCES ${AK_SOURCES})
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "BSD$" OR HAIKU)
|
||||
# BSD Platforms and Haiku have backtrace(3) in a separate library
|
||||
target_link_libraries(AK PRIVATE execinfo)
|
||||
endif()
|
||||
|
||||
# LibCore
|
||||
add_serenity_subdirectory(Userland/Libraries/LibCore)
|
||||
|
@ -362,10 +366,6 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
|
|||
# Solaris has socket and networking related functions in two extra libraries
|
||||
target_link_libraries(LibCore PRIVATE nsl socket)
|
||||
endif()
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "BSD$" OR HAIKU)
|
||||
# BSD Platforms and Haiku have backtrace(3) in a separate library
|
||||
target_link_libraries(LibCore PRIVATE execinfo)
|
||||
endif()
|
||||
if (HAIKU)
|
||||
# Haiku has networking related functions in the network library
|
||||
target_link_libraries(LibCore PRIVATE network)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue