about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index 15a0b0e7af..6c35fe5e2b 100644
--- a/Makerules
+++ b/Makerules
@@ -794,9 +794,10 @@ distinfo: Makefile $(..)Makerules
 define distinfo-vars
 rm -f $@.new
 $(foreach var,subdir subdir-dirs sources elided-routines headers distribute \
-	      dont_distribute generated others tests,
+	      dont_distribute generated others tests \
+	      extra-libs $(extra-libs:%=%-routines),
 echo >> $@.new '$(var)	:= $($(var))')
-echo >> $@.new 'sources := $$(sources) $$(addsuffix .c,$$(elided-routines))'
+echo >> $@.new 'sources += $$(addsuffix .c,$$(elided-routines))'
 endef
 
 ifneq (,$(strip $(gpl2lgpl)))