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 29be9f6e fix(dev/release,glib): set library path to run example (#1436)
29be9f6e is described below

commit 29be9f6e1aa659bf31a2d845f42e6a0818e847d5
Author: Sutou Kouhei <[email protected]>
AuthorDate: Mon Jan 8 23:10:22 2024 +0900

    fix(dev/release,glib): set library path to run example (#1436)
    
    Fixes #1435.
---
 ci/scripts/glib_build.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ci/scripts/glib_build.sh b/ci/scripts/glib_build.sh
index 6edd7faf..fdc1276f 100755
--- a/ci/scripts/glib_build.sh
+++ b/ci/scripts/glib_build.sh
@@ -55,6 +55,9 @@ build_subproject() {
           "${build_dir}/glib" \
           "${source_dir}/glib"
     meson install -C "${build_dir}/glib"
+
+    export 
DYLD_LIBRARY_PATH="${install_dir}/lib${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}}"
+    export 
LD_LIBRARY_PATH="${install_dir}/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
     "${build_dir}/glib/example/sqlite"
     if [[ "${enable_vapi}" = "true" ]]; then
         "${build_dir}/glib/example/vala/sqlite"

Reply via email to