mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 13:11:00 +01:00
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 46131567da)
19 lines
500 B
Makefile
19 lines
500 B
Makefile
check: libexpr-tests_RUN
|
|
|
|
programs += libexpr-tests
|
|
|
|
libexpr-tests_NAME := libnixexpr-tests
|
|
|
|
libexpr-tests_DIR := $(d)
|
|
|
|
libexpr-tests_INSTALL_DIR :=
|
|
|
|
libexpr-tests_SOURCES := \
|
|
$(wildcard $(d)/*.cc) \
|
|
$(wildcard $(d)/value/*.cc)
|
|
|
|
libexpr-tests_CXXFLAGS += -I src/libexpr -I src/libutil -I src/libstore -I src/libexpr/tests -I src/libfetchers
|
|
|
|
libexpr-tests_LIBS = libstore-tests libutils-tests libexpr libutil libstore libfetchers
|
|
|
|
libexpr-tests_LDFLAGS := -lrapidcheck $(GTEST_LIBS) -lgmock
|