Skip to content

Commit

Permalink
fix(dev/release,glib): set library path to run example (#1436)
Browse files Browse the repository at this point in the history
Fixes #1435.
  • Loading branch information
kou authored Jan 8, 2024
1 parent 4b73eb4 commit 29be9f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/scripts/glib_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 29be9f6

Please sign in to comment.