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:
parent
9d09fc96cd
commit
f53bcac83d
12
dev-libs/olm/files/olmlib.patch
Normal file
12
dev-libs/olm/files/olmlib.patch
Normal 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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user