From: Alan T. DeKok Date: Fri, 22 Jan 2021 16:25:38 +0000 (-0500) Subject: add libfreeradius-PROTOCOL.la as dependency of test.unit.PROTOCOL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=946dfee4f60675293dbfb8e3d5dd796310ac9e5f;p=thirdparty%2Ffreeradius-server.git add libfreeradius-PROTOCOL.la as dependency of test.unit.PROTOCOL because GNU make is too stupid to figure it out --- diff --git a/src/tests/unit/all.mk b/src/tests/unit/all.mk index c90b60288b..f9d344abde 100644 --- a/src/tests/unit/all.mk +++ b/src/tests/unit/all.mk @@ -46,7 +46,7 @@ PROTOCOLS := $(subst $(DIR)/protocols/,,$(wildcard $(DIR)/protocols/*)) define UNIT_TEST_PROTOCOLS $(addprefix $(OUTPUT)/,$(filter protocols/${1}/%.txt,$(FILES))): $(wildcard $(top_srcdir)/share/dictionary/${1}/dictionary*) $(BUILD_DIR)/lib/libfreeradius-${1}.la -test.unit.${1}: $(addprefix $(OUTPUT)/,$(filter protocols/${1}/%.txt,$(FILES))) +test.unit.${1}: $(addprefix $(OUTPUT)/,$(filter protocols/${1}/%.txt,$(FILES))) $(BUILD_DIR)/lib/libfreeradius-${1}.la endef $(foreach x,$(PROTOCOLS),$(eval $(call UNIT_TEST_PROTOCOLS,$x)))