Skip to content

Conversation

Kreijstal
Copy link

fixes #40

This pull request makes a small update to the build configuration in setup.py to improve platform detection and compatibility when setting compiler flags.

  • Platform detection improvement: The condition for applying non-Windows compiler flags now checks for the "MSYSTEM" environment variable in addition to the system type, ensuring correct flag usage in MSYS environments on Windows.
  • Imports update: Added an os import to support the new environment variable check.

@ObserverOfTime
Copy link
Member

Don't do your own thing. Use tree-sitter init --update.

@Kreijstal
Copy link
Author

I am not a treesitter developer I just needed to installa program that requires this dependency but it breaks build.

Co-authored-by: ObserverOfTime <[email protected]>
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.

cannot build on msys2..

2 participants