Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pkgconfig file to be relocatable. #214

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix pkgconfig file to be relocatable. #214

wants to merge 2 commits into from

Conversation

fandjelo
Copy link

@fandjelo fandjelo commented Oct 5, 2018

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