Skip to content

CMake requires libpythonXX.a #484

@pitrou

Description

@pitrou

Not sure it's worth fixing here, but it seems that when using:

find_package(Python3 COMPONENTS Interpreter Development REQUIRED)

the "Development" component fails being found if libpythonXX.a and libpythonXX.so both cannot be found. This is a problem when building C extensions using CMake (rather than using setuptools).

Note that the library isn't actually used for building (you can touch the missing file and it makes CMake happy), but it's required to be present anyway...

(see CMake docs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions