From 637a432ea734d8b5b3d708d3c6014d87c15635ca Mon Sep 17 00:00:00 2001 From: insunaa Date: Sat, 23 Nov 2024 09:08:32 +0100 Subject: [PATCH] Build: Fix linking on apple silicon --- src/realmd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realmd/CMakeLists.txt b/src/realmd/CMakeLists.txt index 5195dc812eb..7975e6c984b 100644 --- a/src/realmd/CMakeLists.txt +++ b/src/realmd/CMakeLists.txt @@ -77,7 +77,7 @@ if(UNIX) endif() if(APPLE) - set(EXECUTABLE_LINK_FLAGS "-framework Carbon ${EXECUTABLE_LINK_FLAGS}") + set(EXECUTABLE_LINK_FLAGS "-Wl,no_fixup_chains -framework Carbon ${EXECUTABLE_LINK_FLAGS}") endif() set_target_properties(${EXECUTABLE_NAME} PROPERTIES LINK_FLAGS