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

Allow library directories to be customizable in Makefile #3706

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

Conversation

Lastique
Copy link

@Lastique Lastique commented Dec 4, 2023

This PR makes build type and target directories to be customizable in Makefile and fixes pkgconfig file generation accordingly.

This is necessary to be able to integrate the library building with the downstream packaging scripts, so that the compiled library is installed in the correct directory for libraries on the target OS.

This allows to integrate the building scripts into downstream packaging
infrastructure. Specifically, library directory names may differ across
various Linux distributions and need to be customizable by the packaging
scripts.
This fixes libdir in the generated .pc file in case if the custom library
directory specified by the user is different frrom the default.
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