diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile index cdbcc14087..698a6ab985 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1174,7 +1174,6 @@ localplt-built-dso := $(addprefix $(common-objpfx),\ libc.so \ elf/ld.so \ math/libm.so \ - rt/librt.so \ dlfcn/libdl.so \ resolv/libresolv.so \ ) @@ -1187,6 +1186,9 @@ endif ifeq ($(build-crypt),yes) localplt-built-dso += $(addprefix $(common-objpfx), crypt/libcrypt.so) endif +ifneq ($(pthread-in-libc),yes) +localplt-built-dso += $(addprefix $(common-objpfx), rt/librt.so) +endif vpath localplt.data $(+sysdep_dirs) |