Skip to content

Handling additional library directories from cibuidwheel #373

Open
@jlaine

Description

@jlaine

In several projects I maintain (e.g. PyAV, aiortc, aioquic..) I need to build additional libraries which then get shipped with the wheels. These additional libraries are built with a custom prefix (/tmp/vendor) so as to keep them explicitly separate from the system libraries.

In order to get auditwheel to pick up the additional libraries, I am forced to add /tmp/vendor/lib to LD_LIBRARY_PATH in my cibuildwheel configuration. However this is very error prone, as it can break other parts of the build.

Would you be open to a PR which introduces an --add-path command-line flag in order to pass additional directories to auditwheel during it's search for libraries? The name of the option was chosen so as to match the one used by delvewheel [1], the Windows counterpart of auditwheel.

[1] https://github.com/adang1345/delvewheel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions