diff --git a/dev-libs/olm/files/olmlib.patch b/dev-libs/olm/files/olmlib.patch new file mode 100644 index 0000000..e18e7a2 --- /dev/null +++ b/dev-libs/olm/files/olmlib.patch @@ -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 + """, + libraries=["olm"], ++ library_dirs = ["../lib64"], + extra_compile_args=compile_args, + extra_link_args=link_args) + diff --git a/dev-libs/olm/olm-3.1.5-r1.ebuild b/dev-libs/olm/olm-3.1.5-r1.ebuild index 6a49278..f1440cd 100644 --- a/dev-libs/olm/olm-3.1.5-r1.ebuild +++ b/dev-libs/olm/olm-3.1.5-r1.ebuild @@ -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)