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

install pkg-config file into libdir #1091

Merged
merged 1 commit into from
Mar 26, 2019
Merged

install pkg-config file into libdir #1091

merged 1 commit into from
Mar 26, 2019

Conversation

olafhering
Copy link
Contributor

Most pkgconfig files contain a Libs: variable, which is either /usr/lib
or /usr/lib64. If a 32bit and a 64bit variant of fmt libraries is
installed, the last one wins. As a result compiling for the other
bitsize will fail.

Instead of sharedir use libdir as install target.

Fixes commit 9d0c9c4
Fixes commit 287342d

Signed-off-by: Olaf Hering olaf@aepfle.de

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

Most pkgconfig files contain a Libs: variable, which is either /usr/lib
or /usr/lib64. If a 32bit and a 64bit variant of fmt libraries is
installed, the last one wins. As a result compiling for the other
bitsize will fail.

Instead of sharedir use libdir as install target.

Fixes commit 9d0c9c4
Fixes commit 287342d

Signed-off-by: Olaf Hering <olaf@aepfle.de>
@olafhering
Copy link
Contributor Author

I've reviewed CONTRIBUTING.md and I agree with the licensing. Thank you!

@vitaut
Copy link
Contributor

vitaut commented Mar 25, 2019

Thanks for the PR!

Is it a standard practice to install .pc files in the library directory?

@olafhering
Copy link
Contributor Author

Only if the .pc files references $libdir. For plain data .pc files the /usr/share/pkgconfig should be ok.

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.

2 participants