aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/pthread/Makefile
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-03 18:52:51 -0700
committerRoland McGrath <roland@hack.frob.com>2014-07-03 18:52:51 -0700
commit38851324d820b7cf8b8e9694e7c33325c16f38db (patch)
treee267fc32fcb039e195e4de054699c61a4a0eed74 /sysdeps/pthread/Makefile
parent69862e2511a41d64ff8ce942721589fb12bade15 (diff)
downloadglibc-38851324d820b7cf8b8e9694e7c33325c16f38db.tar
glibc-38851324d820b7cf8b8e9694e7c33325c16f38db.tar.gz
glibc-38851324d820b7cf8b8e9694e7c33325c16f38db.tar.bz2
glibc-38851324d820b7cf8b8e9694e7c33325c16f38db.zip
Restore subdir conditional for tst-timer dependency.
Diffstat (limited to 'sysdeps/pthread/Makefile')
-rw-r--r--sysdeps/pthread/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index 1080dc9126..47e61bd07a 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -16,8 +16,12 @@
# License along with the GNU C Library; if not, see
# <http://www.gnu.org/licenses/>.
+ifeq ($(subdir),rt)
+
ifeq (yes,$(build-shared))
$(objpfx)tst-timer: $(objpfx)librt.so $(shared-thread-library)
else
$(objpfx)tst-timer: $(objpfx)librt.a $(static-thread-library)
endif
+
+endif