-
Notifications
You must be signed in to change notification settings - Fork 906
Closed
Description
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
Labels
No labels