From 2234fd008d294ebfa425e48844961c254cb4f11b Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Mon, 3 Nov 2025 18:04:47 +0100 Subject: MSYS2: add a comment about realpath --- msys2-configure.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msys2-configure.sh b/msys2-configure.sh index 7b7724e..8cbff30 100755 --- a/msys2-configure.sh +++ b/msys2-configure.sh @@ -130,6 +130,8 @@ setup() { --bindir . --libdir . --cross-file="$toolchain" "$builddir" "$sourcedir" } +# Note: you may need GNU coreutils realpath for non-existent build directories +# (macOS and busybox will probably not work). sourcedir=$(realpath "${2:-$(dirname "$0")}") builddir=$(realpath "${1:-builddir}") toolchain=$builddir/msys2-cross-toolchain.meson -- cgit v1.2.3-70-g09d2