mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +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
1 changed files with 4 additions and 4 deletions
|
@ -350,6 +350,10 @@ install(TARGETS LibC LibCrypt LibSystem NoCoverage EXPORT LagomTargets)
|
||||||
# AK
|
# AK
|
||||||
add_serenity_subdirectory(AK)
|
add_serenity_subdirectory(AK)
|
||||||
lagom_lib(AK ak SOURCES ${AK_SOURCES})
|
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
|
# LibCore
|
||||||
add_serenity_subdirectory(Userland/Libraries/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
|
# Solaris has socket and networking related functions in two extra libraries
|
||||||
target_link_libraries(LibCore PRIVATE nsl socket)
|
target_link_libraries(LibCore PRIVATE nsl socket)
|
||||||
endif()
|
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)
|
if (HAIKU)
|
||||||
# Haiku has networking related functions in the network library
|
# Haiku has networking related functions in the network library
|
||||||
target_link_libraries(LibCore PRIVATE network)
|
target_link_libraries(LibCore PRIVATE network)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue