mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +02:00
b23273f6a2
This is good in general (see how the other libraries also have long had
it, since 49fe9592a4
) but in particular
needed to fix the NetBSD build.
19 lines
477 B
Makefile
19 lines
477 B
Makefile
libraries += libutil-test-support
|
|
|
|
libutil-test-support_NAME = libnixutil-test-support
|
|
|
|
libutil-test-support_DIR := $(d)
|
|
|
|
ifeq ($(INSTALL_UNIT_TESTS), yes)
|
|
libutil-test-support_INSTALL_DIR := $(checklibdir)
|
|
else
|
|
libutil-test-support_INSTALL_DIR :=
|
|
endif
|
|
|
|
libutil-test-support_SOURCES := $(wildcard $(d)/tests/*.cc)
|
|
|
|
libutil-test-support_CXXFLAGS += $(libutil-tests_EXTRA_INCLUDES)
|
|
|
|
libutil-test-support_LIBS = libutil
|
|
|
|
libutil-test-support_LDFLAGS := -pthread -lrapidcheck
|