mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 12:57:35 +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
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…
Add table
Add a link
Reference in a new issue