File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313 - name : setup python
1414 uses : actions/setup-python@v4
1515 with :
16- python-version : 3.10
16+ python-version : 3.11
1717
1818 - name : get dependencies
1919 run : brew install cmake boost pcre gmp python3 pkgconfig gtkmm3 adwaita-icon-theme && /usr/local/bin/python3 -m pip install sympy gmpy2 numpy
Original file line number Diff line number Diff line change @@ -75,15 +75,15 @@ if(CMAKE_VERSION VERSION_LESS 3.13)
7575 set_property (
7676 TARGET pybind11::python_link_helper
7777 APPEND
78- PROPERTY INTERFACE_LINK_LIBRARIES "$<$<PLATFORM_ID:Darwin>:-undefined dynamic_lookup >" )
78+ PROPERTY INTERFACE_LINK_LIBRARIES "$<$<PLATFORM_ID:Darwin>:-undefined suppress -flat_namespace >" )
7979else ()
8080 # link_options was added in 3.13+
8181 # This is safer, because you are ensured the deduplication pass in CMake will not consider
8282 # these separate and remove one but not the other.
8383 set_property (
8484 TARGET pybind11::python_link_helper
8585 APPEND
86- PROPERTY INTERFACE_LINK_OPTIONS "$<$<PLATFORM_ID:Darwin>:LINKER:-undefined,dynamic_lookup >" )
86+ PROPERTY INTERFACE_LINK_OPTIONS "$<$<PLATFORM_ID:Darwin>:LINKER:-undefined,suppress,-flat_namespace >" )
8787endif ()
8888
8989# ------------------------ Windows extras -------------------------
You can’t perform that action at this time.
0 commit comments