diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-12-12 13:17:21 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-12-12 15:01:30 -0800 |
commit | e4f639e4a106d90c6f3159230788653fd6e40a26 (patch) | |
tree | 0273305e960bcb5f46e3debc523eecc312e1bba8 /sysdeps/posix/Makefile | |
parent | c76d1ff5149bd03210f2bb8cd64446c51618d016 (diff) | |
download | glibc-e4f639e4a106d90c6f3159230788653fd6e40a26.tar glibc-e4f639e4a106d90c6f3159230788653fd6e40a26.tar.gz glibc-e4f639e4a106d90c6f3159230788653fd6e40a26.tar.bz2 glibc-e4f639e4a106d90c6f3159230788653fd6e40a26.zip |
NPTL: Refactor named semaphore code to use shm-directory.h
Diffstat (limited to 'sysdeps/posix/Makefile')
-rw-r--r-- | sysdeps/posix/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/posix/Makefile b/sysdeps/posix/Makefile index 8e5f7c3bba..52f20f5d97 100644 --- a/sysdeps/posix/Makefile +++ b/sysdeps/posix/Makefile @@ -4,6 +4,8 @@ TMP_MAX = 238328 L_ctermid = 9 L_cuserid = 9 -ifeq ($(subdir),rt) +ifeq ($(subdir)|$(have-thread-library),rt|no) +# With NPTL, this lives in libpthread so it can be used for sem_open too. +# Without NPTL, it's just private in librt. librt-routines += shm-directory endif |