-
Notifications
You must be signed in to change notification settings - Fork 18
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
Clean up ignition-tools.pc file #40
Clean up ignition-tools.pc file #40
Conversation
The hard-coded ../.. path to prefix is incorrect when the .pc file is installed to a subfolder of lib, such as for debian packages, which install to /usr/lib/x86_64-linux-gnu/pkgconfig Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
A side comment: having a |
other packages may list it as |
🦟 Bug fix
Fixes minor problem introduced by #30
Summary
We merged #30 to make our cmake and
.pc
config files relocatable. That PR was merged before we noticed an issue in a similar PR: gazebosim/gz-cmake#129. The problem is the hard-coded../..
path to prefix frompcfiledir
is incorrect when the.pc
file is installed to a subfolder of lib, such as for Ubuntu debian packages on amd64, which install to/usr/lib/x86_64-linux-gnu/pkgconfig
. This PR includes the fix that was used for ign-cmake.I also noticed that we have include and linker flags for this package in the
.pc
file even though it has no libraries or header files. So I've removed those files as well. Of course, now the.pc
file is basically a no-op, but I'd rather have the correct relocatable path logic even if it's not used.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge