Skip to content

Commit

Permalink
Build: Fix linking on apple silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa authored and killerwife committed Nov 28, 2024
1 parent cb2a777 commit 637a432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realmd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 637a432

Please sign in to comment.