Skip to content

Cross compiling for windows: Cannot find -lpython3 #2343

Discussion options

You must be logged in to vote

I checked /usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/ and it definitely contains a python3.pc (this is the one it looks for, right?).

I actually am not sure if we need to integrate pkgconfig support into our build scripts for that to work? Or should the linker be checking pkgconfig stuff itself?

You might want to try the generate-abi3-import-lib feature, new in PyO3 0.16.4

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@piegamesde
Comment options

@adamreichold
Comment options

Answer selected by piegamesde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants