Skip to content

Commit bf17f54

Browse files
JuergenReppSITmoritzbuhl
authored andcommitted
ci: preserve existing LD_LIBRARY_PATH
Preserve an existing `LD_LIBRARY_PATH` when adding `/usr/local/lib` to the CI environment. The previous assignment replaced paths provided by the container environment. On NixOS this removed the Nix store path containing `libtpms.so.0`, causing the libtpms TCTI integration tests to fail at runtime. Signed-off-by: Juergen Repp <juergen_repp@web.de>
1 parent 86225ae commit bf17f54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.ci/docker-prelude.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ source $DOCKER_BUILD_DIR/.ci/download-deps.sh
1414

1515
get_deps "$WORKSPACE"
1616

17-
export LD_LIBRARY_PATH=/usr/local/lib/
17+
export LD_LIBRARY_PATH="/usr/local/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
1818

1919
# Change to the build dir
2020
echo "echo changing to $DOCKER_BUILD_DIR"

0 commit comments

Comments
 (0)