summaryrefslogtreecommitdiff
path: root/rt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rt/Makefile')
-rw-r--r--rt/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/rt/Makefile b/rt/Makefile
index 69d76151ed..b102cc834e 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -49,4 +49,8 @@ include ../Rules
# a statically-linked program that hasn't already loaded it.
$(objpfx)librt.so: $(common-objpfx)libc.so $(shared-thread-library)
+ifeq (yes,$(build-shared))
$(objpfx)tst-aio: $(objpfx)librt.so $(shared-thread-library)
+else
+$(objpfx)tst-aio: $(objpfx)librt.a $(static-thread-library)
+endif \ No newline at end of file