Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jan 1, 2025
1 parent 1971612 commit adbff4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ target_link_libraries(${LOADABLE_EXTENSION_NAME}
# Set link flags to ensure proper symbol resolution
if(VCPKG_TARGET_TRIPLET MATCHES "arm64-linux" OR SYSTEM_ARCH MATCHES ".*(arm64|aarch64).*")
set_target_properties(${EXTENSION_NAME} PROPERTIES
LINK_FLAGS "-Wl,--no-as-needed -Wl,-z,now -Wl,--export-dynamic -latomic"
LINK_FLAGS "-Wl,--no-as-needed -Wl,-z,now -Wl,--export-dynamic" # -latomic
)
else()
set_target_properties(${EXTENSION_NAME} PROPERTIES
Expand Down

0 comments on commit adbff4f

Please sign in to comment.