Skip to content

Commit

Permalink
Fix linking problem on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
arahlin committed Nov 20, 2024
1 parent a15fcd9 commit 7c40be8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ else()
target_link_options(spt3g INTERFACE "LINKER:-undefined,dynamic_lookup")
endif()
endif()
if(APPLE)
target_link_options(spt3g INTERFACE "LINKER:-no_fixup_chains")
endif()

# Work around yet more bugs in GCC 4.4, this time with C++ 11 support
# Also increase maximum number of arguments in python bindings
Expand Down

0 comments on commit 7c40be8

Please sign in to comment.