kou commented on code in PR #41599:
URL: https://github.com/apache/arrow/pull/41599#discussion_r1602806624
##########
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:
If we remove https://github.com/apache/arrow/pull/41599/files#r1602805729 ,
we can remove this path too.
--
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]