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 <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2021-01-04 23:52:11 +02:00
parent f383e22965
commit 9190ecfc53
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 4 additions and 2 deletions

View File

@ -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)
}

View File

@ -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)
}