aboutsummaryrefslogtreecommitdiff
path: root/python/olm_build.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/olm_build.py')
-rw-r--r--python/olm_build.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/olm_build.py b/python/olm_build.py
index ee836d8..d3eda79 100644
--- a/python/olm_build.py
+++ b/python/olm_build.py
@@ -39,6 +39,7 @@ ffibuilder.set_source(
#include <olm/olm.h>
#include <olm/inbound_group_session.h>
#include <olm/outbound_group_session.h>
+ #include <olm/pk.h>
""",
libraries=["olm"],
extra_compile_args=compile_args,
@@ -47,5 +48,8 @@ ffibuilder.set_source(
with open(os.path.join(PATH, "include/olm/olm.h")) as f:
ffibuilder.cdef(f.read(), override=True)
+with open(os.path.join(PATH, "include/olm/pk.h")) as f:
+ ffibuilder.cdef(f.read(), override=True)
+
if __name__ == "__main__":
ffibuilder.compile(verbose=True)