aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-30 12:33:40 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-30 12:34:30 +0100
commit1f735a34406c1856fd2f6f9a522a06b429c4f799 (patch)
tree0d3495cc6cb753b5b241ceb2d85ff98f831e37ec /src/libutil/local.mk
parentdae5dc7ade60aa6a9a05e41133da7faebe6bdc1b (diff)
<nix/fetchurl.nix>: Support xz-compressed NARs
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 8af2e78d9..4a97b662a 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