$_ = fixup_libobjs($_);
}
+ # There is no reason to list $(LT_DLLOADERS) in noinst_LTLIBRARIES;
+ # these will be picked up as ordinary prerequisites. They're already
+ # all in EXTRA_LTLIBRARIES.
+ drop if (/^noinst_LTLIBRARIES.*\$\(LT_DLLOADERS\)$/);
+
+ # Don't list other libs in noinst_LTLIBRARIES so that they don't get
+ # built unless explicitly required by prerequisites.
+ s/noinst_LTLIBRARIES/EXTRA_LTLIBRARIES/;
+
# BUILT_SOURCES has similar problems to recursive make: inadequate
# dependencies lead to incorrect builds. Collect them into an
# ordinary variable so we can deal with them later.