From a4c6d319a869ba5d90183ec7730d7a2c97f85e0b Mon Sep 17 00:00:00 2001 From: Pamplemousse Date: Wed, 25 Aug 2021 08:58:33 -0700 Subject: Don't overwrite user provided `lib*_LDFLAGS` Signed-off-by: Pamplemousse --- src/libstore/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore') diff --git a/src/libstore/local.mk b/src/libstore/local.mk index 44316f542..f045800bf 100644 --- a/src/libstore/local.mk +++ b/src/libstore/local.mk @@ -8,7 +8,7 @@ libstore_SOURCES := $(wildcard $(d)/*.cc $(d)/builtins/*.cc $(d)/build/*.cc) libstore_LIBS = libutil -libstore_LDFLAGS = $(SQLITE3_LIBS) $(LIBCURL_LIBS) $(SODIUM_LIBS) -pthread +libstore_LDFLAGS += $(SQLITE3_LIBS) $(LIBCURL_LIBS) $(SODIUM_LIBS) -pthread ifdef HOST_LINUX libstore_LDFLAGS += -ldl endif -- cgit v1.2.3