aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/tests
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2021-10-08 07:13:59 +0100
committerSergei Trofimovich <slyich@gmail.com>2021-10-08 07:16:12 +0100
commitd7d6fe44d690977e7a91b459c15c0d4e8bc09dce (patch)
treee7182ecf4555c2bbf09bb948b565eeb37f014d2b /src/libstore/tests
parent844dd901a7debe8b03ec93a7f717b6c4038dc572 (diff)
libstore-tests: add libutil dependency (fix static link failure)
In https://github.com/NixOS/nix/pull/5350 we noticed link failures pkgsStatic.nixUnstable. Adding explicit dependency on libutil fixes libstore-tests linking.
Diffstat (limited to 'src/libstore/tests')
-rw-r--r--src/libstore/tests/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/tests/local.mk b/src/libstore/tests/local.mk
index 6ae9a0285..f74295d97 100644
--- a/src/libstore/tests/local.mk
+++ b/src/libstore/tests/local.mk
@@ -10,6 +10,6 @@ libstore-tests_SOURCES := $(wildcard $(d)/*.cc)
libstore-tests_CXXFLAGS += -I src/libstore -I src/libutil
-libstore-tests_LIBS = libstore
+libstore-tests_LIBS = libstore libutil
libstore-tests_LDFLAGS := $(GTEST_LIBS)