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

enable miniupnpc wheel builds on windows #766

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

altendky
Copy link
Contributor

@altendky altendky commented Jul 9, 2024

Presently this is just for comparison. The existing uploaded wheels seem to be missing the actual dll.

image

@altendky altendky marked this pull request as draft July 9, 2024 17:06
@altendky
Copy link
Contributor Author

altendky commented Jul 9, 2024

Looks like they are included when built here.

image

@altendky
Copy link
Contributor Author

altendky commented Jul 9, 2024

Ah, probably because of this hack that got copied over from the Chia builds of miniupnpc.

https://github.com/miniupnp/miniupnp/pull/766/files#diff-1aec4e476d444bcc492fb3510338ac236fb30610cb08b30e959f8eff75e961f7L221

7z a dist/*.whl miniupnpc.dll

@altendky
Copy link
Contributor Author

altendky commented Jul 9, 2024

@miniupnp, do you expect the existing Windows wheels to work on their own without providing a separately built .dll?

@miniupnp
Copy link
Owner

@miniupnp, do you expect the existing Windows wheels to work on their own without providing a separately built .dll?

As far as I remember, the .dll is required ;)

@miniupnp
Copy link
Owner

hum It is possible there is a confusion between libminiupnpc.a (static) and miniupnpc.lib + miniupnpc.dll

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.

2 participants