Meta+Ladybird: Link to libnetwork on Haiku

This commit is contained in:
nipos
2023-08-27 20:57:10 +02:00
committed by Andrew Kaster
parent e345085329
commit 2691c079d4
2 changed files with 8 additions and 0 deletions

View File

@@ -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()

View File

@@ -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