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

.pc files with Windows paths #132

Open
tkralphs opened this issue Feb 1, 2020 · 1 comment
Open

.pc files with Windows paths #132

tkralphs opened this issue Feb 1, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@tkralphs
Copy link
Member

tkralphs commented Feb 1, 2020

I would like to think about whether we can/should produce .pc files with Windows paths in them when building with Visual Studio in MSys. This is because if we have such .pc files, it will make building Python extensions in Windows a lot easier, as we'll be able to rely on pkg-config to find libraries, which we cannot currently do. I believe this should be possible, we just need to convert paths with cygpath when building the .pc files. I'll think a bit about how to do it.

@tkralphs tkralphs added the enhancement New feature or request label Feb 1, 2020
@tkralphs tkralphs changed the title .pc files with WIndows paths .pc files with Windows paths Feb 5, 2020
@tkralphs
Copy link
Member Author

tkralphs commented Aug 2, 2020

I just became aware that the Windows version of pkg-config has an option --msvc-syntax that converts POSIX paths to Windows paths and also converts the flags from gcc-style to MSVC-style, so this may obviate the need for this. I haven't had a chance to try it yet, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant