Normalize backslashes in the directory arguments before they reach
Dir.glob so an overridden vcpkg path fails clearly instead of through
a misleading missing-DLL abort, and abort when no vcpkg copyright files
are collected so the package never ships a bundled DLL without its
license terms.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A GNU tar earlier in PATH cannot write zip with -a, which made the
archiving step environment dependent. Pointed out by Copilot on
GH-17662.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Apply the review suggestion from nobu on GH-17662.
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
mkmf applies $configure_args to every extension build, so a leftover
--with-opt-dir pointing into the build machine's vcpkg tree breaks or
taints gem compilation on the destination machine. Strip arguments
containing absolute paths from CONFIG["configure_args"] when
assembling a binary package.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Stage `install-nodoc` under DESTDIR, bundle the vcpkg runtime DLLs,
the VC runtime and the license terms of everything redistributed,
then archive the tree into a relocatable zip. Groundwork for official
Windows binary packages.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>