diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2016-12-28 18:42:03 +0000 |
---|---|---|
committer | Dr. David Alan Gilbert <dave@treblig.org> | 2018-02-25 02:08:49 +0000 |
commit | 80e4e298d5bfae66bc9895dd5d902e57fe760d81 (patch) | |
tree | 2623e4e566235c6059bdc2a2d73f2a1a6296f534 /Makefile.common | |
parent | ca2f214e252b2aa176a59b8b7e3f1b52e8df445e (diff) | |
download | purple-matrix-80e4e298d5bfae66bc9895dd5d902e57fe760d81.tar.gz |
e2e: Link with libolm
Windows build not tested.
Note that libolm doesn't currently have the pkgconf magic.
Compile with make -DMATRIX_NO_E2E to disable olm linking
and e2e in general.
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index 05dc040..d31f2d8 100644 --- a/Makefile.common +++ b/Makefile.common @@ -8,6 +8,10 @@ CFLAGS += -DPURPLE_PLUGINS # generate .d files when compiling CPPFLAGS += -MMD +ifdef MATRIX_NO_E2E +CFLAGS+=-DMATRIX_NO_E2E +endif + OBJECTS = libmatrix.o matrix-api.o matrix-connection.o \ matrix-event.o \ matrix-json.o \ |