mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 20:55:35 +03:00
Meta+Ladybird: Link to libnetwork on Haiku
This commit is contained in:
parent
e345085329
commit
2691c079d4
Notes:
sideshowbarker
2024-07-19 16:52:05 +09:00
Author: https://github.com/ghost Commit: https://github.com/SerenityOS/serenity/commit/2691c079d41 Pull-request: https://github.com/SerenityOS/serenity/pull/20808 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/Hendiadyoin1 Reviewed-by: https://github.com/diversys
@ -23,3 +23,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
|
||||
# Solaris has socket and networking related functions in two extra libraries
|
||||
target_link_libraries(RequestServer PRIVATE nsl socket)
|
||||
endif()
|
||||
if (HAIKU)
|
||||
# Haiku has networking related functions in the network library
|
||||
target_link_libraries(RequestServer PRIVATE network)
|
||||
endif()
|
||||
|
@ -344,6 +344,10 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "BSD$")
|
||||
# BSD Platforms 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)
|
||||
endif()
|
||||
target_sources(LibCore PRIVATE ${AK_SOURCES})
|
||||
|
||||
# LibMain
|
||||
|
Loading…
Reference in New Issue
Block a user