This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new f9c28b17d fix(r/adbcsnowflake): Fix configuration of adbcsnowflake
when configure is run from a git shell (#2771)
f9c28b17d is described below
commit f9c28b17de773c7387225896fd72b1d215e9c270
Author: Dewey Dunnington <[email protected]>
AuthorDate: Sat May 3 05:44:13 2025 -0500
fix(r/adbcsnowflake): Fix configuration of adbcsnowflake when configure is
run from a git shell (#2771)
Closes #2767
It seems like the RTools shell identifies itself as `MSYS_NT...` whereas
the git shell identifies itself as `MINGW64_NT...`. It looks like
r-universe configures using the git shell? We can support both!
---
r/adbcsnowflake/configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/r/adbcsnowflake/configure b/r/adbcsnowflake/configure
index ff68cdd03..95dce2417 100755
--- a/r/adbcsnowflake/configure
+++ b/r/adbcsnowflake/configure
@@ -144,7 +144,7 @@ fi
# On OSX we need -framework Security because of some dependency somewhere
if [ `uname` = "Darwin" ]; then
PKG_LIBS="-framework Security -lresolv $PKG_LIBS"
-elif uname | grep -e "MSYS" >/dev/null ; then
+elif uname | grep -e "MSYS" -e "MINGW" >/dev/null; then
# Windows
PKG_LIBS="$PKG_LIBS"
else