Skip to content

Commit

Permalink
e2e: Link with libgcrypt
Browse files Browse the repository at this point in the history
Link with libgcrypt when e2e is enabled.
Build for Windows is not tested.

Fixes #83
  • Loading branch information
steils committed Sep 8, 2018
1 parent 5a7166a commit 89ff3ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LDLIBS+=$(shell $(PKG_CONFIG) --libs $(LIBS))
LDLIBS+=-lhttp_parser

ifndef MATRIX_NO_E2E
LDLIBS+=-lolm
LDLIBS+=-lolm -lgcrypt
endif

PLUGIN_DIR_PURPLE = $(shell $(PKG_CONFIG) --variable=plugindir purple)
Expand Down
5 changes: 3 additions & 2 deletions Makefile.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ LDLIBS += -L$(HTTP_PARSER_TOP) -lhttp_parser -static-libgcc

ifndef MATRIX_NO_E2E
OLM_TOP ?= $(WIN32_DEV_TOP)/olm
CFLAGS += -I$(OLM_TOP)/include
LDLIBS+= -L$(OLM_TOP)/build -lolm
GCRYPT_TOP ?= $(WIN32_DEV_TOP)/libgcrypt
CFLAGS += -I$(OLM_TOP)/include -I$(GCRYPT_TOP)/src
LDLIBS += -L$(OLM_TOP)/build -lolm -L$(GCRYPT_TOP)/bin -lgcrypt
endif


Expand Down

0 comments on commit 89ff3ae

Please sign in to comment.