Skip to content

Remove SHARED from pybind11_add_module - #2

Merged
ahcorde merged 2 commits into
ros2:mainfrom
traversaro:patch-1
Mar 13, 2025
Merged

ahcorde merged 2 commits into
ros2:mainfrom
traversaro:patch-1

Conversation

@traversaro

Copy link
Copy Markdown
Contributor

See ros2/rclpy#1305 and ros2/rclpy#1418 for more context.

In a nutshell, passing SHARED to pybind11_add_module results in a segfault on macOS on Python with libpython statically linked, as the python package shipped by conda-forge.

@wjwwood wjwwood self-assigned this Mar 13, 2025
@ahcorde

ahcorde commented Mar 13, 2025

Copy link
Copy Markdown
Contributor

CI is failing, This PR should fix it #3

@ahcorde
ahcorde merged commit 6ef5925 into ros2:main Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants