]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
depend on, and build, local files, too
authorAlan T. DeKok <aland@freeradius.org>
Mon, 27 Nov 2023 14:29:01 +0000 (09:29 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 27 Nov 2023 15:51:38 +0000 (10:51 -0500)
src/tests/modules/all.mk

index 40038921f422da17c5b79816924a2741b1cbfcc8..97f7ee7a95ef03088bb04270c2a31dda3c673e2a 100644 (file)
@@ -74,7 +74,7 @@ $(eval $(call TEST_BOOTSTRAP))
 #  and make the output file depend on the library.  That way if the
 #  module is re-built, then the tests are re-run.
 #
-$(foreach x, $(FILES), $(eval $$(OUTPUT.$(TEST))/$x: $(patsubst %,$(BUILD_DIR)/lib/rlm_%.la,$(patsubst %/,%,$(firstword $(subst /, ,$(dir $x)))))))
+$(foreach x, $(FILES), $(eval $$(OUTPUT.$(TEST))/$x: $(patsubst %,$(BUILD_DIR)/lib/rlm_%.la,$(patsubst %/,%,$(firstword $(subst /, ,$(dir $x))))) $(patsubst %,$(BUILD_DIR)/lib/local/rlm_%.la,$(patsubst %/,%,$(firstword $(subst /, ,$(dir $x)))))))
 
 #
 #  sql_foo depends on rlm_sql, too.