Skip to content

Commit 8289a2f

Browse files
committed
Fix ubuntu 16 unbound LD_LIBRARY_PATH error
1 parent 39be7ff commit 8289a2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ccpp.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
scripts/fetch_deps.sh
8989
source cutter-deps/env.sh
9090
export PKG_CONFIG_PATH="$CUTTER_DEPS_PYTHON_PREFIX/lib/pkgconfig:${PKG_CONFIG_PATH:-}"
91-
export LD_LIBRARY_PATH="`llvm-config --libdir`:$LD_LIBRARY_PATH"
91+
export LD_LIBRARY_PATH="`llvm-config --libdir`:${LD_LIBRARY_PATH:+:LD_LIBRARY_PATH:}"
9292
fi
9393
set -euo pipefail #TODO: move to top once cutter-deps doesn't fail
9494
if [[ "${{ matrix.cc-override }}" != "default" ]]
@@ -134,7 +134,7 @@ jobs:
134134
..
135135
fi
136136
ninja
137-
./src/test/CutterTest
137+
./src/test/CutterTest
138138
if [[ "${{ matrix.package || false }}" = "true" ]]
139139
then
140140
export CUTTER_VERSION=$(python ../scripts/get_version.py)

0 commit comments

Comments
 (0)