Skip to content

Resolve symlinks when getting the path to the app#109

Open
pedro-w wants to merge 1 commit into
lexxmark:masterfrom
pedro-w:master
Open

Resolve symlinks when getting the path to the app#109
pedro-w wants to merge 1 commit into
lexxmark:masterfrom
pedro-w:master

Conversation

@pedro-w
Copy link
Copy Markdown

@pedro-w pedro-w commented Apr 8, 2026

Maybe fixes #97

This is for winget users - winget installs bison/flex to a folder and then symlinks the executables to a Links directory. Bison resolves the path for its datafiles relative to the exe which ends up being relative to the link rather than the the actual file. So this patch resolves the link to the final file first. It only affects windows specific code, it doesn't need changes to the upstream bison.
Flex is not affected.

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.

Add support install win_bison and win_flex as symbloic link by using winget

1 participant