Skip to content

Building both static and shared library? #598

@Grinnz

Description

@Grinnz

I see from the changelog that the cmake BUILD_SHARED_LIBS flag is now used to determine whether a static .a or shared .so is built. But previously, both would be built by default, and I don't see how to do this with BUILD_SHARED_LIBS, as when I define the option only the shared .so is built. I need to build both for my Perl extension so that it can be statically linked to XS code as well as dynamically used in FFI code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions