aboutsummaryrefslogtreecommitdiff
path: root/msys2-configure.sh
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2025-11-03 18:04:47 +0100
committerPřemysl Eric Janouch <p@janouch.name>2025-11-03 18:05:41 +0100
commit2234fd008d294ebfa425e48844961c254cb4f11b (patch)
treeef34ee1bf93920de613003578085bca565bcae84 /msys2-configure.sh
parent0fceaf7728e8efeffb158271a8fe74e4db1a6a7a (diff)
downloadfiv-origin/HEAD.tar.gz
fiv-origin/HEAD.tar.xz
fiv-origin/HEAD.zip
MSYS2: add a comment about realpathorigin/masterorigin/HEAD
Diffstat (limited to 'msys2-configure.sh')
-rwxr-xr-xmsys2-configure.sh2
1 files changed, 2 insertions, 0 deletions
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