Browse Source

Include libc's Makefile.in last to catch all the objects included by others that go into libc

Peter S. Mazinger 18 years ago
parent
commit
034b372c2b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Makefile.in

+ 3 - 1
Makefile.in

@@ -22,7 +22,6 @@ all: pregen libs
 -include .config.cmd
 
 include $(top_srcdir)ldso/Makefile.in
-include $(top_srcdir)libc/Makefile.in
 include $(top_srcdir)libcrypt/Makefile.in
 include $(top_srcdir)libintl/Makefile.in
 include $(top_srcdir)libm/Makefile.in
@@ -32,6 +31,9 @@ include $(top_srcdir)librt/Makefile.in
 include $(top_srcdir)libutil/Makefile.in
 include $(top_srcdir)libpthread/Makefile.in
 
+# last included to catch all the objects added by others (locales/threads)
+include $(top_srcdir)libc/Makefile.in
+
 include/bits/uClibc_config.h: .config
 	$(RM) -r include/bits
 	$(INSTALL) -d include/bits