mirror of
https://github.com/NixOS/nix.git
synced 2025-12-07 17:41:00 +01:00
This is good in general (see how the other libraries also have long had it, since49fe9592a4) but in particular needed to fix the NetBSD build. (cherry picked from commitb23273f6a2)
21 lines
530 B
Makefile
21 lines
530 B
Makefile
libraries += libstore-test-support
|
|
|
|
libstore-test-support_NAME = libnixstore-test-support
|
|
|
|
libstore-test-support_DIR := $(d)
|
|
|
|
ifeq ($(INSTALL_UNIT_TESTS), yes)
|
|
libstore-test-support_INSTALL_DIR := $(checklibdir)
|
|
else
|
|
libstore-test-support_INSTALL_DIR :=
|
|
endif
|
|
|
|
libstore-test-support_SOURCES := $(wildcard $(d)/tests/*.cc)
|
|
|
|
libstore-test-support_CXXFLAGS += $(libstore-tests_EXTRA_INCLUDES)
|
|
|
|
libstore-test-support_LIBS = \
|
|
libutil-test-support \
|
|
libstore libutil
|
|
|
|
libstore-test-support_LDFLAGS := -pthread -lrapidcheck
|