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

Placing pkg-config.exe file to this git if possible #130

Open
imxood opened this issue Mar 20, 2022 · 3 comments
Open

Placing pkg-config.exe file to this git if possible #130

imxood opened this issue Mar 20, 2022 · 3 comments

Comments

@imxood
Copy link

imxood commented Mar 20, 2022

For windows system, is it possible to put a pkg-config.exe file on this git? When building on windows, you can select the exe file to use according to the environment variable PKG_CONFIG, if there is no such environment variable, use the exe placed on git ? No need for users to find this program by themselves, and the exe file is not big

@elmarco
Copy link

elmarco commented Apr 5, 2022

Probably better to build/install as needed, as #103 suggest. Other option would be to reimplement pkg-config in rust and drop the need for an extra executable ;)

@imxood
Copy link
Author

imxood commented Apr 5, 2022

Probably better to build/install as needed, as #103 suggest. Other option would be to reimplement pkg-config in rust and drop the need for an extra executable ;)

It willl be good~

@Be-ing
Copy link
Contributor

Be-ing commented Oct 21, 2022

Other option would be to reimplement pkg-config in rust and drop the need for an extra executable ;)

I have another idea: compile the pkgconf library (different from pkg-config!) with the cc crate, create Rust bindings for it, and use those in this crate. That would make it simple to use this crate reliably across platforms.

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

3 participants