From 23a9e184b4d24631d62c68050fd27e6437c498d5 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 13 Apr 2020 19:57:40 -0400 Subject: [PATCH] jjb: ivc: export PKG_CONFIG_PATH for urcu dependency Signed-off-by: Jonathan Rajotte --- scripts/lttng-ivc/build.sh | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.34.1