summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-27 10:20:39 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-27 10:20:39 +0000
commit18b51cad45f0ff540924870a47ff61a4e4e4e4df (patch)
tree3ebf8929c0505f93e541a7f6bf3f2c1cb9522ebd /libc
parente8138701aa6577284fe555cf7360a4d5e3f89451 (diff)
Provide atexit() for static builds
Diffstat (limited to 'libc')
-rw-r--r--libc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/Makefile b/libc/Makefile
index 4d528af8f..14b83ef42 100644
--- a/libc/Makefile
+++ b/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)