Skip to content

Commit d4d5827

Browse files
Axel-Naumannpcanal
andauthored
Update bindings/pyroot/cppyy/CPyCppyy/CMakeLists.txt
Co-authored-by: Philippe Canal <pcanal@fnal.gov>
1 parent ab7554f commit d4d5827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/pyroot/cppyy/CPyCppyy/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ foreach(val RANGE ${how_many_pythons})
6363
set_target_properties(${libname} PROPERTIES PREFIX "lib")
6464
set_target_properties(${libname} PROPERTIES SUFFIX ".pyd")
6565
elseif(APPLE)
66-
target_link_libraries(${libname} PUBLIC -Wl,-bind_at_load -Wl,-undefined -Wl,dynamic_lookup cppyy_backend${python_under_version_string})
66+
target_link_libraries(${libname} PUBLIC -Wl,-bind_at_load -Wl,-w -Wl,-undefined -Wl,dynamic_lookup cppyy_backend${python_under_version_string})
6767
else()
6868
target_link_libraries(${libname} PUBLIC -Wl,--unresolved-symbols=ignore-all cppyy_backend${python_under_version_string})
6969
endif()

0 commit comments

Comments
 (0)