aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Koch <thomas@koch.ro>2022-01-30 20:59:58 +0200
committerThomas Koch <thomas@koch.ro>2022-01-30 20:59:58 +0200
commit43509cc69d24d3b8def894a2d47338b7873dc0f4 (patch)
treeb7eadf1d2a3cfdb09dd799dc8eff8dbd838eff24
parent08fc3d6552f8b86e335500f2669d92e315b873d0 (diff)
use LOWDOWN_LIBS variable
fixes: #5931
-rw-r--r--Makefile.config.in1
-rw-r--r--src/libcmd/local.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index c8c4446b4..3505f337e 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -16,6 +16,7 @@ LDFLAGS = @LDFLAGS@
LIBARCHIVE_LIBS = @LIBARCHIVE_LIBS@
LIBBROTLI_LIBS = @LIBBROTLI_LIBS@
LIBCURL_LIBS = @LIBCURL_LIBS@
+LOWDOWN_LIBS = @LOWDOWN_LIBS@
OPENSSL_LIBS = @OPENSSL_LIBS@
LIBSECCOMP_LIBS = @LIBSECCOMP_LIBS@
PACKAGE_NAME = @PACKAGE_NAME@
diff --git a/src/libcmd/local.mk b/src/libcmd/local.mk
index 8b0662753..7a2f83cc7 100644
--- a/src/libcmd/local.mk
+++ b/src/libcmd/local.mk
@@ -8,7 +8,7 @@ libcmd_SOURCES := $(wildcard $(d)/*.cc)
libcmd_CXXFLAGS += -I src/libutil -I src/libstore -I src/libexpr -I src/libmain -I src/libfetchers
-libcmd_LDFLAGS += -llowdown -pthread
+libcmd_LDFLAGS += $(LOWDOWN_LIBS) -pthread
libcmd_LIBS = libstore libutil libexpr libmain libfetchers