aboutsummaryrefslogtreecommitdiff
path: root/python/olm_build.py
diff options
context:
space:
mode:
authorDamir Jelić <poljar@termina.org.uk>2019-04-10 15:18:07 +0200
committerDamir Jelić <poljar@termina.org.uk>2019-04-10 15:18:07 +0200
commit086133f39a175a72ea7c898c708fed38b8dbd36b (patch)
treef335cf726acafae819d1b824c6b23186eddaa9df /python/olm_build.py
parentc79d9282dcb9946144905a93ec9b5f14b17cc30c (diff)
parent54cb52e05e0d715c9e3c71ffeff05050732dea41 (diff)
Merge branch 'python-sas'
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 97ab3b2..0606337 100644
--- a/python/olm_build.py
+++ b/python/olm_build.py
@@ -43,6 +43,7 @@ ffibuilder.set_source(
#include <olm/inbound_group_session.h>
#include <olm/outbound_group_session.h>
#include <olm/pk.h>
+ #include <olm/sas.h>
""",
libraries=["olm"],
extra_compile_args=compile_args,
@@ -54,5 +55,8 @@ with open(os.path.join(PATH, "include/olm/olm.h")) as f:
with open(os.path.join(PATH, "include/olm/pk.h")) as f:
ffibuilder.cdef(f.read(), override=True)
+with open(os.path.join(PATH, "include/olm/sas.h")) as f:
+ ffibuilder.cdef(f.read(), override=True)
+
if __name__ == "__main__":
ffibuilder.compile(verbose=True)