Skip to content

Use MinGW prefix known by Ruby to convert MSYS2 paths - #59

Merged
kou merged 1 commit into
mainfrom
use-ruby-mingw-prefix
Nov 16, 2026
Merged

kou merged 1 commit into
mainfrom
use-ruby-mingw-prefix

Conversation

@kou

@kou kou commented Nov 16, 2026

Copy link
Copy Markdown
Member

We used the prefix of the native pkg-config to convert MSYS2 paths such as /mingw64/include to Windows paths. But pkg-config may not be installed or may be MSYS's one such as /usr/bin/pkgconf. In the case, MSYS2 paths weren't converted.

Ruby knows the Windows path of the MinGW prefix: RubyInstaller provides it and MSYS2's Ruby is installed into it.

See also: https://github.com/groonga/groonga/actions/runs/43796618836/job/133066762726

We used the prefix of the native pkg-config to convert MSYS2 paths
such as /mingw64/include to Windows paths. But pkg-config may not be
installed or may be MSYS's one such as /usr/bin/pkgconf. In the case,
MSYS2 paths weren't converted.

Ruby knows the Windows path of the MinGW prefix: RubyInstaller
provides it and MSYS2's Ruby is installed into it.

See also: https://github.com/groonga/groonga/actions/runs/43796618836/job/133066762726

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kou
kou merged commit 6a7ca45 into main Nov 16, 2026
48 checks passed
@kou
kou deleted the use-ruby-mingw-prefix branch November 16, 2026 05:25
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.

1 participant