summaryrefslogtreecommitdiff
path: root/rt/Makefile
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-03-20 17:16:44 +0000
committerAndreas Schwab <schwab@suse.de>1999-03-20 17:16:44 +0000
commitdf455ccb63266939408fba27120a7bbdee3457e9 (patch)
tree90c9d9443ad66898f2e6a7cb34cd36984ff2530f /rt/Makefile
parentbfe1b528468c65f1ad575bfb2a0aea48dd9ded0b (diff)
1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> cvs/libc-as-990322
* rt/Makefile: Link against static library if no shared lib is available. * localedata/Makefile: The shells scripts implementing the test require the dynamic linker which is not available with --disable-shared. Skip the test if --disable-shared is given. * linuxthreads/Makefile: Link test against static libpthread if no shared lib is available. * iconvdata/Makefile (tests): Run iconv-test only if we're building shared libraries. * elf/Makefile (tests): Likewise for elf tests. * posix/Makefile: The test frameworks globtest and wordexp-test require the dynamic linker which is not available with --disable-shared. Skip the test if --disable-shared is given. * grp/Makefile (otherlibs): For static nss build link against necessary libs. * rt/Makefile: Link against static library if no shared lib is available. * localedata/Makefile: The shells scripts implementing the test require the dynamic linker which is not available with --disable-shared. Skip the test if --disable-shared is given. * linuxthreads/Makefile: Link test against static libpthread if no shared lib is available. * iconvdata/Makefile (tests): Run iconv-test only if we're building shared libraries. * elf/Makefile (tests): Likewise for elf tests. * posix/Makefile: The test frameworks globtest and wordexp-test require the dynamic linker which is not available with --disable-shared. Skip the test if --disable-shared is given. * grp/Makefile (otherlibs): For static nss build link against necessary libs. 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
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