aboutsummaryrefslogtreecommitdiff
path: root/python/Makefile
diff options
context:
space:
mode:
authorDamir Jelić <poljar@termina.org.uk>2019-04-02 12:54:00 +0200
committerDamir Jelić <poljar@termina.org.uk>2019-04-02 12:56:53 +0200
commit446628753b6283f6dcbf27589b2c18f93c71768b (patch)
tree18d2a6f6f230d2e1100d37c6e6f0ccada980d335 /python/Makefile
parentd5c0eb9d20a17ec596784f53f3c9ffab0e9ad772 (diff)
python: Add Short Authentication String bindings.
This patch adds bindings to the SAS part of the Olm library contained in the sas.h header file. Signed-off-by: Damir Jelić <poljar@termina.org.uk>
Diffstat (limited to 'python/Makefile')
-rw-r--r--python/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/python/Makefile b/python/Makefile
index 5da703a..6283fb5 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -6,10 +6,13 @@ include/olm/olm.h: ../include/olm/olm.h ../include/olm/inbound_group_session.h .
# add memset to the header so that we can use it to clear buffers
echo 'void *memset(void *s, int c, size_t n);' >> include/olm/olm.h
-olm-python2: include/olm/olm.h
+include/olm/sas.h: include/olm/olm.h ../include/olm/sas.h
+ $(CPP) -I dummy -I ../include ../include/olm/sas.h -o include/olm/sas.h
+
+olm-python2: include/olm/olm.h include/olm/sas.h
DEVELOP=$(DEVELOP) python2 setup.py build
-olm-python3: include/olm/olm.h
+olm-python3: include/olm/olm.h include/olm/sas.h
DEVELOP=$(DEVELOP) python3 setup.py build
install: install-python2 install-python3