From 2cbbf827c9c844d411640bbaf7bf9cee271df20a Mon Sep 17 00:00:00 2001 From: yossizap Date: Sat, 19 Dec 2020 16:04:30 +0000 Subject: [PATCH] Fix ubuntu 16 unbound LD_LIBRARY_PATH error --- .github/workflows/ccpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 8e956e7fb4..6f6b3d9d32 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -88,7 +88,7 @@ jobs: scripts/fetch_deps.sh source cutter-deps/env.sh export PKG_CONFIG_PATH="$CUTTER_DEPS_PYTHON_PREFIX/lib/pkgconfig:${PKG_CONFIG_PATH:-}" - export LD_LIBRARY_PATH="`llvm-config --libdir`:$LD_LIBRARY_PATH" + export LD_LIBRARY_PATH="`llvm-config --libdir`:${LD_LIBRARY_PATH:+:LD_LIBRARY_PATH:}" fi set -euo pipefail #TODO: move to top once cutter-deps doesn't fail if [[ "${{ matrix.cc-override }}" != "default" ]]