about summary refs log tree commit diff
path: root/src/libutil/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/local.mk')
-rw-r--r--src/libutil/local.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libutil/local.mk b/src/libutil/local.mk
index 8af2e78d9ce4..4a97b662ae62 100644
--- a/src/libutil/local.mk
+++ b/src/libutil/local.mk
@@ -6,8 +6,10 @@ libutil_DIR := $(d)
 
 libutil_SOURCES := $(wildcard $(d)/*.cc)
 
+libutil_LDFLAGS = -llzma
+
 ifeq ($(HAVE_OPENSSL), 1)
-  libutil_LDFLAGS = $(OPENSSL_LIBS)
+  libutil_LDFLAGS += $(OPENSSL_LIBS)
 else
   libutil_SOURCES += $(d)/md5.c $(d)/sha1.c $(d)/sha256.c
 endif