Browse Source

Provide atexit() for static builds

Peter S. Mazinger 18 years ago
parent
commit
18b51cad45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/Makefile

+ 1 - 1
libc/Makefile

@@ -70,7 +70,7 @@ $(LIBNAME) shared_$(LIBNAME) ar-target: subdirs
 		$(AR) $(ARFLAGS) $(LIBNAME) $$objs || exit 1 ; \
 	done
 	cp $(LIBNAME) shared_$(LIBNAME)
-	$(AR) $(ARFLAGS) $(LIBNAME) misc/internals/static.o
+	$(AR) $(ARFLAGS) $(LIBNAME) misc/internals/static.o `cat nonshared_obj.*`
 	$(RANLIB) $(LIBNAME)
 
 $(LIBNAME_TARGET): $(LIBNAME)