Skip to content

Remove SHARED from pybind11_add_module #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 13, 2025
Merged

Conversation

traversaro
Copy link
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
Copy link
Contributor

ahcorde commented Mar 13, 2025

CI is failing, This PR should fix it #3

@ahcorde ahcorde merged commit 6ef5925 into ros2:main Mar 13, 2025
1 check passed
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