Skip to content

msgpack-c 6.0.1 generates invalid pkg-config file #1128

@fumoboy007

Description

@fumoboy007

Describe the bug
msgpack-c 6.0.1 generates an invalid msgpack-c.pc pkg-config file. The libdir and includedir variables are missing the prefix:

prefix=/opt/homebrew/Cellar/msgpack/6.0.1
exec_prefix=/opt/homebrew/Cellar/msgpack/6.0.1
libdir=lib
includedir=include

Name: MessagePack
Description: Binary-based efficient object serialization library
Version: 6.0.1
Libs: -L${libdir} -lmsgpack-c
Cflags: -I${includedir}

To Reproduce
Just build/install the project with default settings.

Expected behavior
msgpack-c 6.0.0 generates a valid msgpack-c.pc:

prefix=/opt/homebrew/Cellar/msgpack/6.0.0
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: MessagePack
Description: Binary-based efficient object serialization library
Version: 6.0.0
Libs: -L${libdir} -lmsgpack-c
Cflags: -I${includedir}

Notice that libdir and includedir correctly include the prefix.

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