]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
update depdendicies so rlm_sql is rebuilt before running sql tests
authorAlan T. DeKok <aland@freeradius.org>
Wed, 20 Dec 2023 15:34:18 +0000 (10:34 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 20 Dec 2023 15:34:18 +0000 (10:34 -0500)
src/tests/modules/all.mk

index 97f7ee7a95ef03088bb04270c2a31dda3c673e2a..68f0b2549f7c5168bebe2d6d91f2f0c3d5f266fa 100644 (file)
@@ -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