pyo3_build_config

Function add_python_framework_link_args

Source
pub fn add_python_framework_link_args()
Expand description

Adds linker arguments suitable for linking against the Python framework on macOS.

This should be called from a build script.

The following link flags are added:

  • macOS: -Wl,-rpath,<framework_prefix>

All other platforms currently are no-ops.