adamreeve commented on code in PR #41599:
URL: https://github.com/apache/arrow/pull/41599#discussion_r1604188666
##########
ci/scripts/c_glib_build.sh:
##########
@@ -28,17 +28,38 @@ build_root=${2}
: ${BUILD_DOCS_C_GLIB:=OFF}
with_doc=$([ "${BUILD_DOCS_C_GLIB}" == "ON" ] && echo "true" || echo "false")
-export PKG_CONFIG_PATH=${ARROW_HOME}/lib/pkgconfig
+
+if [ -n "${MSYSTEM:-}" ]; then
+ # Fix ARROW_HOME when running under MSYS2
+ export ARROW_HOME="$(cygpath --unix "${ARROW_HOME}")"
+fi
+
+meson_pkg_config_path="${ARROW_HOME}/lib/pkgconfig:${ARROW_HOME}/bin/pkgconfig"
Review Comment:
Yes you're right, I copied that from the C++ build
(`.github/workflows/cpp.yml`) but had forgotten about it sorry. I'm not sure
why the C++ build is configured like that. I've removed setting the LIBDIR
variable and the extra pkgconfig path now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]