dev-libs/olm: patch lib dirs for python bindings

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2020-09-25 09:31:09 +03:00
parent 9d09fc96cd
commit f53bcac83d
No known key found for this signature in database
GPG Key ID: 7211B3F7B598F87A
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff --git a/python/olm_build.py b/python/olm_build.py
index 0606337..1032da0 100644
--- a/python/olm_build.py
+++ b/python/olm_build.py
@@ -46,6 +46,7 @@ ffibuilder.set_source(
#include <olm/sas.h>
""",
libraries=["olm"],
+ library_dirs = ["../lib64"],
extra_compile_args=compile_args,
extra_link_args=link_args)

View File

@ -30,6 +30,10 @@ DEPEND="
)
"
CMAKE_IN_SOURCE_BUILD=1
PATCHES=( "${FILESDIR}/olmlib.patch" )
src_prepare() {
cmake_src_prepare
use python && (cd python; distutils-r1_src_prepare)