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

Create a pkg-config file #220

Closed
jsha opened this issue Nov 13, 2021 · 3 comments
Closed

Create a pkg-config file #220

jsha opened this issue Nov 13, 2021 · 3 comments

Comments

@jsha
Copy link
Collaborator

jsha commented Nov 13, 2021

As part of our build process, we should produce a .pc file indicating where the library and includes are, and what other libraries must be linked with it.

Some documentation: https://people.freedesktop.org/~dbn/pkg-config-guide.html

@lu-zero lu-zero mentioned this issue Dec 3, 2021
3 tasks
@thesamesam
Copy link
Contributor

thesamesam commented Dec 9, 2022

#82 would really make life a lot easier for distributions interested in looking at mod_tls & rustls. For one, it'd solve .pc and optionally dynamic libraries for anyone who wants them.

Additionally, distributions are used to handling cargo-c projects and it's easier than trying to figure out what a project has done that's completely homebrew.

The purpose of the rustls-ffi project is to make it easy to use rustls and it'd serve that aim well.

@lu-zero
Copy link
Contributor

lu-zero commented Dec 10, 2022

I can redo the patchset if there is interest on it.

@cpu
Copy link
Member

cpu commented Mar 30, 2024

A cargo-c generated pkg-config file is available as of v0.12.1 🎉

@cpu cpu closed this as completed Mar 30, 2024
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

No branches or pull requests

4 participants