From: Jonathan Rajotte Date: Mon, 13 Apr 2020 23:57:40 +0000 (-0400) Subject: jjb: ivc: export PKG_CONFIG_PATH for urcu dependency X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=23a9e184b4d24631d62c68050fd27e6437c498d5;p=lttng-ci.git jjb: ivc: export PKG_CONFIG_PATH for urcu dependency Signed-off-by: Jonathan Rajotte --- diff --git a/scripts/lttng-ivc/build.sh b/scripts/lttng-ivc/build.sh index 8cc08ac..75e4311 100644 --- a/scripts/lttng-ivc/build.sh +++ b/scripts/lttng-ivc/build.sh @@ -20,11 +20,13 @@ P3_VERSION=$($PYTHON3 -c "import sys;print(sys.version[:3])") URCU_INCS=${WORKSPACE}/deps/liburcu/build/include URCU_LIBS=${WORKSPACE}/deps/liburcu/build/lib +URCU_PKG_CONFIG=${URCU_LIBS}/pkgconfig # Get liburcu setup export LD_LIBRARY_PATH="$URCU_LIBS:${LD_LIBRARY_PATH:-}" export CPPFLAGS="${CPPFLAGS:-} -I$URCU_INCS" export LDFLAGS="${LDFLAGS:-} -L$URCU_LIBS" +export PKG_CONFIG_PATH="$URCU_PKG_CONFIG:${PKG_CONFIG_PATH:-}" # Tox does not support long path venv for whatever reason. PYENV_HOME=$(mktemp -d)