Skip to content

Conversation

@ngie-eign
Copy link
Contributor

swig --version doesn't seem to be supported in all versions of swig, e.g., FreeBSD and some flavors of Linux. Use swig -version instead when querying the CLI tool.

Closes: #4756

@github-actions
Copy link
Contributor

github-actions bot commented Oct 29, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@ngie-eign
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

`swig --version` doesn't seem to be supported in all versions of
swig, e.g., FreeBSD and some flavors of Linux. Use `swig -version`
instead when querying the CLI tool version.

Closes: pymupdf#4756
Signed-off-by: Enji Cooper <[email protected]>
@julian-smith-artifex-com
Copy link
Collaborator

Thanks for this.

We've not actually had problems from swig --version with pypi.org's swig on Windows, Linux and MacOS. However the swig docs only mention -version and it's good to fix problems on other platforms anyway.

@julian-smith-artifex-com julian-smith-artifex-com merged commit d3287f9 into pymupdf:main Oct 30, 2025
3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

swig --version doesn't work in all versions of swig; -version should be used instead

2 participants