From 78b00bbd8a993c403bb3712bddfd3815f7301b01 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 31 May 2016 03:20:11 -0400 Subject: 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. --- src/libutil/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/libutil/local.mk b/src/libutil/local.mk index 98cad00d6..cac5c8795 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 -- cgit v1.2.3