about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDmitry Kalinkin <dkalinkin@bnl.gov>2016-05-31T07·20-0400
committerDmitry Kalinkin <dkalinkin@bnl.gov>2016-05-31T07·20-0400
commit78b00bbd8a993c403bb3712bddfd3815f7301b01 (patch)
tree1261679ef22db6ca6ae12babd3776953d22430c0 /src
parent5339ae4437549296836a16fcc52040762404b403 (diff)
use $(LIBLZMA_LIBS) instead of -llzma
This is needed in case of non-standard lzma installation path that will
be specified in pkgconfig manifest as extra -L option for LDFLAGS.
Diffstat (limited to 'src')
-rw-r--r--src/libutil/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/local.mk b/src/libutil/local.mk
index 98cad00d6d95..cac5c8795db7 100644
--- a/src/libutil/local.mk
+++ b/src/libutil/local.mk
@@ -6,6 +6,6 @@ libutil_DIR := $(d)
 
 libutil_SOURCES := $(wildcard $(d)/*.cc)
 
-libutil_LDFLAGS = -llzma -lbz2 -pthread $(OPENSSL_LIBS)
+libutil_LDFLAGS = $(LIBLZMA_LIBS) -lbz2 -pthread $(OPENSSL_LIBS)
 
 libutil_LIBS = libformat