From 9190ecfc531af7630e0a98908b984ebe16a572a7 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 4 Jan 2021 23:52:11 +0200 Subject: [PATCH] dev-libs/olm: fix issue with olm[python] not finding libraries Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alfred Wingate --- dev-libs/olm/olm-3.1.5-r1.ebuild | 3 ++- dev-libs/olm/olm-3.2.1.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-libs/olm/olm-3.1.5-r1.ebuild b/dev-libs/olm/olm-3.1.5-r1.ebuild index 2daa1e9..4958450 100644 --- a/dev-libs/olm/olm-3.1.5-r1.ebuild +++ b/dev-libs/olm/olm-3.1.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -41,6 +41,7 @@ src_prepare() { src_compile() { cmake_src_compile + export LIBRARY_PATH=""${S}"/lib64/" # Let python build find the already built libolm use python && (cd python; distutils-r1_src_compile) } diff --git a/dev-libs/olm/olm-3.2.1.ebuild b/dev-libs/olm/olm-3.2.1.ebuild index 7ff8dc0..b37c325 100644 --- a/dev-libs/olm/olm-3.2.1.ebuild +++ b/dev-libs/olm/olm-3.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -48,6 +48,7 @@ src_configure() { src_compile() { cmake_src_compile + export LIBRARY_PATH=""${S}"/lib64/" # Let python build find the already built libolm use python && (cd python; distutils-r1_src_compile) }