Skip to content

Commit

Permalink
Merge pull request #84 from steils/master
Browse files Browse the repository at this point in the history
e2e: Link with libgcrypt
  • Loading branch information
richvdh authored Sep 27, 2018
2 parents 086b9ad + 89ff3ae commit f26edd5
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 f26edd5

Please sign in to comment.