Skip to content

Commit

Permalink
Fix static build on glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Gawlik committed Jun 8, 2019
1 parent 975b88f commit b203841
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ ENCRYPTED_PASSWORDS ?= 1
ifeq ($(ENCRYPTED_PASSWORDS),1)
override CFLAGS += -DENCRYPTED_PASSWORDS=1
override LIBS += -largon2
ifeq ($(STATIC),1)
override LIBS += -lpthread
endif
endif

SRCS := $(wildcard *.c)
Expand Down

0 comments on commit b203841

Please sign in to comment.