Skip to content

Fix pkgconfig file to be relocatable.#214

Open
fandjelo wants to merge 2 commits into
lloyd:masterfrom
fandjelo:fix-pkgconfig-relocatable
Open

Fix pkgconfig file to be relocatable.#214
fandjelo wants to merge 2 commits into
lloyd:masterfrom
fandjelo:fix-pkgconfig-relocatable

Conversation

@fandjelo

@fandjelo fandjelo commented Oct 5, 2018

Copy link
Copy Markdown

When using relocatable cross toolchain with yajl included the result can
be copied to different paths and machines. It can be even used from
docker or something similar. However, current modification makes
pkgconfig file for yajl relocatable and independet from the original
package installation path.

Filipp Andjelo added 2 commits October 5, 2018 11:17
When using relocatable cross toolchain with yajl included the result can
be copied to different paths and machines. It can be even used from
docker or something similar. However, current modification makes
pkgconfig file for yajl relocatable and independet from the original
package installation path.
When using pkgbuild with autotools or meson, the include path read from
yajl.pc is set to ${prefix}/include/yajl, which is wrong because other
include files in yajl are trying to include other files relative to
${prefix}/include/ and not ${prefix}/include/yajl. This leads to non
compilable project using yajl with pkgconfig.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant