Skip to content

Commit 47a4eae

Browse files
authored
ci(gcb): set LD_LIBRARY_PATH when running quickstart (#6280)
Fixes: #6278 This is needed to find the shared libraries that the Makefile quickstarts will need to link with.
1 parent 68f0434 commit 47a4eae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/cloudbuild/builds/lib/quickstart.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ function quickstart::run_cmake_and_make() {
6161
io::log "[ Make ]"
6262
PKG_CONFIG_PATH="${prefix}/lib64/pkgconfig:${prefix}/lib/pkgconfig:${PKG_CONFIG_PATH:-}" \
6363
make -C "${src_dir}"
64-
test "${#run_args[@]}" -eq 0 || "${src_dir}/quickstart" "${run_args[@]}"
64+
test "${#run_args[@]}" -eq 0 ||
65+
LD_LIBRARY_PATH="${prefix}/lib64:${prefix}/lib:${LD_LIBRARY_PATH:-}" \
66+
"${src_dir}/quickstart" "${run_args[@]}"
6567
done
6668
}

0 commit comments

Comments
 (0)