about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makeconfig b/Makeconfig
index 5a9f068f11..92501a78c0 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -792,10 +792,11 @@ ifeq (yes, $(build-shared))
 ifeq ($(sysd-sorted-done),t)
 -include $(common-objpfx)soversions.mk
 ifndef avoid-generated
+# This lets add-ons give more-specific matches that override defaults
+# in the top-level file.
 $(common-objpfx)shlib-versions.v.i: \
-	$(..)shlib-versions $(wildcard $(patsubst %, $(..)%/shlib-versions,\
-						     $(add-ons) \
-						     $(subdirs)))
+	$(wildcard $(patsubst %, $(..)%/shlib-versions,$(add-ons) $(subdirs)))\
+	$(..)shlib-versions
 $(common-objpfx)soversions.i: $(common-objpfx)shlib-versions.v
 	default_setname='$(filter-out %_default,$(oldest-abi:%=GLIBC_%))'; \
 	while read conf version setname; do \