diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-30T11·33+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-30T11·34+0100 |
commit | 1f735a34406c1856fd2f6f9a522a06b429c4f799 (patch) | |
tree | 0d3495cc6cb753b5b241ceb2d85ff98f831e37ec /src/libutil/local.mk | |
parent | dae5dc7ade60aa6a9a05e41133da7faebe6bdc1b (diff) |
<nix/fetchurl.nix>: Support xz-compressed NARs
Diffstat (limited to 'src/libutil/local.mk')
-rw-r--r-- | src/libutil/local.mk | 4 |
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 |