From: Alan T. DeKok Date: Wed, 20 Dec 2023 15:34:18 +0000 (-0500) Subject: update depdendicies so rlm_sql is rebuilt before running sql tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab67e46d7030d1f2f9ea230ce065ef8b1e5d8d9;p=thirdparty%2Ffreeradius-server.git update depdendicies so rlm_sql is rebuilt before running sql tests --- diff --git a/src/tests/modules/all.mk b/src/tests/modules/all.mk index 97f7ee7a95e..68f0b2549f7 100644 --- a/src/tests/modules/all.mk +++ b/src/tests/modules/all.mk @@ -79,7 +79,7 @@ $(foreach x, $(FILES), $(eval $$(OUTPUT.$(TEST))/$x: $(patsubst %,$(BUILD_DIR)/l # # sql_foo depends on rlm_sql, too. # -$(foreach x, $(filter sql_%,$(FILES)), $(eval $$(OUTPUT.$(TEST))/$x: $(patsubst %,$(BUILD_DIR)/lib/rlm_sql.la,$(patsubst %/,%,$(firstword $(subst /, ,$(dir $x))))))) +$(foreach x, $(filter sql_%,$(FILES)), $(eval $$(OUTPUT.$(TEST))/$x: $(BUILD_DIR)/lib/local/rlm_sql.la)) # # Files in the output dir depend on the unit tests