mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +00:00
Meta+LibCore: Stop linking against LibCrypt
This was only be used by "Account.cpp" which was removed in:
d8c36ed458
This commit is contained in:
parent
92f5183ced
commit
514233008b
Notes:
github-actions[bot]
2025-04-08 07:14:33 +00:00
Author: https://github.com/rmg-x Commit: https://github.com/LadybirdBrowser/ladybird/commit/514233008bc Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4277 Reviewed-by: https://github.com/gmta ✅
2 changed files with 2 additions and 6 deletions
|
@ -102,7 +102,7 @@ if (APPLE)
|
|||
endif()
|
||||
|
||||
serenity_lib(LibCore core)
|
||||
target_link_libraries(LibCore PRIVATE LibCrypt LibUnicode LibURL)
|
||||
target_link_libraries(LibCore PRIVATE LibUnicode LibURL)
|
||||
target_link_libraries(LibCore PUBLIC LibCoreMinimal)
|
||||
|
||||
if (APPLE)
|
||||
|
|
|
@ -319,13 +319,9 @@ add_lagom_library_install_rules(GenericClangPlugin)
|
|||
add_lagom_library_install_rules(JSClangPlugin)
|
||||
|
||||
# Create mostly empty targets for system libraries we don't need to build for Lagom
|
||||
add_library(LibCrypt INTERFACE)
|
||||
if (NOT APPLE AND NOT ANDROID AND NOT EMSCRIPTEN AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" AND NOT HAIKU AND NOT WIN32)
|
||||
target_link_libraries(LibCrypt INTERFACE crypt) # LibCore::Account uses crypt() but it's not in libcrypt on macOS
|
||||
endif()
|
||||
add_library(NoCoverage INTERFACE)
|
||||
# "install" these special targets to placate CMake
|
||||
install(TARGETS LibCrypt NoCoverage EXPORT LagomTargets)
|
||||
install(TARGETS NoCoverage EXPORT LagomTargets)
|
||||
|
||||
# AK
|
||||
add_serenity_subdirectory(AK)
|
||||
|
|
Loading…
Add table
Reference in a new issue