mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
CMake: Generate SONAME attribute for shared objects
Previosuly, generation of the SONAME attribute was disabled. This caused libraries to have relative paths in DT_NEEDED attributes (e.g "Libraries/libcore.so" instead of just "libcore.so"), which caused build errors when the working directory during build was not $SERENITY_ROOT/Build. This caused the build of ports that use libraries other than libc.so to fail (e.g the nesalizer port). Closes #4457
This commit is contained in:
parent
7b5aa06702
commit
ec33e57f32
Notes:
sideshowbarker
2024-07-19 00:34:43 +09:00
Author: https://github.com/itamar8910 Commit: https://github.com/SerenityOS/serenity/commit/ec33e57f32d Pull-request: https://github.com/SerenityOS/serenity/pull/4551
1 changed files with 0 additions and 1 deletions
|
@ -99,7 +99,6 @@ foreach(lang ASM C CXX OBJC OBJCXX)
|
|||
unset(CMAKE_SHARED_MODULE_LOADER_${lang}_FLAG )
|
||||
unset(CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG)
|
||||
unset(CMAKE_${lang}_SYSROOT_FLAG)
|
||||
unset(CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG)
|
||||
endforeach()
|
||||
|
||||
set(CMAKE_INSTALL_NAME_TOOL "true")
|
||||
|
|
Loading…
Reference in a new issue