Skip to content

yaml-cpp.pc with static linking on Windows #1345

@kalibera

Description

@kalibera

The file should include Cflags.private: -DYAML_CPP_STATIC_DEFINE. Without that, one gets undefined symbols when linking a static library, because the headers expect dynamically linked symbols (with the corresponding prefix on Windows).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions