aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-11-21 23:19:25 -0500
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-22 04:48:11 +0000
commit89a66633b7e0379f74d11ec8ff1b79dc2f9b6a07 (patch)
treeaccca6018cdaaac2bc491431dd7d867dd7405dd9 /src
parentfadad86276bc3374ed556579e6c592899db1f26e (diff)
Add missing `-lrapidcheck` fixing build with shared lib
https://github.com/NixOS/nixpkgs/pull/269064 makes rapidcheck be build as a shared lib, but that broke Nix because the `-lrapidcheck` was missing. This fixes that (and doesn't break Nix what the library is a static archive as today). (cherry picked from commit 46131567da96ffac298b9ec54016b37114b0dfd5)
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/tests/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/tests/local.mk b/src/libexpr/tests/local.mk
index 331a5ead6..c56848a14 100644
--- a/src/libexpr/tests/local.mk
+++ b/src/libexpr/tests/local.mk
@@ -16,4 +16,4 @@ libexpr-tests_CXXFLAGS += -I src/libexpr -I src/libutil -I src/libstore -I src/l
libexpr-tests_LIBS = libstore-tests libutils-tests libexpr libutil libstore libfetchers
-libexpr-tests_LDFLAGS := $(GTEST_LIBS) -lgmock
+libexpr-tests_LDFLAGS := -lrapidcheck $(GTEST_LIBS) -lgmock