mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Everywhere: Force linker hash style to be gnu
This commit is contained in:
parent
b370ee3423
commit
edeec2974f
Notes:
sideshowbarker
2024-07-19 00:04:59 +09:00
Author: https://github.com/ccapitalK Commit: https://github.com/SerenityOS/serenity/commit/edeec2974fa Pull-request: https://github.com/SerenityOS/serenity/pull/4815
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@ endforeach()
|
|||
|
||||
set(CMAKE_INSTALL_NAME_TOOL "")
|
||||
set(CMAKE_SHARED_LIBRARY_SUFFIX ".so")
|
||||
set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-shared")
|
||||
set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-shared -Wl,--hash-style=gnu")
|
||||
set(CMAKE_CXX_LINK_FLAGS "-Wl,--hash-style=gnu")
|
||||
|
||||
# Note: MacOS has different rpath rules from linux.
|
||||
# We disable it completely for MacOS hosts to avoid having to track down all the individual flags to unset
|
||||
|
|
Loading…
Reference in a new issue