From ced044abba9e18f51cae620ccec64cc00d42f6e7 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sun, 28 Nov 2021 22:54:42 +0200 Subject: [PATCH] dev-libs/olm: add built libraries to LD_LIBRARY_PATH for tests - Add built library paths to LD_LIBRARY_PATH so that tests can use them. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfred Wingate --- dev-libs/olm/olm-3.2.4.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-libs/olm/olm-3.2.4.ebuild b/dev-libs/olm/olm-3.2.4.ebuild index 7ea86d6..1440da9 100644 --- a/dev-libs/olm/olm-3.2.4.ebuild +++ b/dev-libs/olm/olm-3.2.4.ebuild @@ -29,11 +29,11 @@ DEPEND=" >=dev-python/cffi-1.0.0[${PYTHON_USEDEP}] dev-python/future[${PYTHON_USEDEP}] test? ( - dev-python/aspectlib[${PYTHON_USEDEP}] - dev-python/pytest-benchmark[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/pytest-flake8[${PYTHON_USEDEP}] - dev-python/pytest-isort[${PYTHON_USEDEP}] + dev-python/aspectlib[${PYTHON_USEDEP}] + dev-python/pytest-benchmark[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/pytest-flake8[${PYTHON_USEDEP}] + dev-python/pytest-isort[${PYTHON_USEDEP}] ) ) " @@ -90,7 +90,7 @@ src_test() { emake test if use python; then pushd python || die - distutils-r1_src_test + LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" distutils-r1_src_test popd || die fi }