mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
Meta: Link to libnsl and libsocket on Solaris in Lagom CMakeLists
This commit is contained in:
parent
72accd3a24
commit
d6fd97e8fb
1 changed files with 4 additions and 0 deletions
|
@ -337,6 +337,10 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
|
||||||
# NetBSD has its shm_open and shm_unlink functions in librt so we need to link that
|
# 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 librt.so)
|
||||||
endif()
|
endif()
|
||||||
|
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()
|
||||||
target_sources(LibCore PRIVATE ${AK_SOURCES})
|
target_sources(LibCore PRIVATE ${AK_SOURCES})
|
||||||
|
|
||||||
# LibMain
|
# LibMain
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue