about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2016-10-28 14:27:52 -0400
committerCarlos O'Donell <carlos@redhat.com>2016-10-28 14:27:52 -0400
commitb2fea743ab4992653b013a5317c8b630a0771f0e (patch)
tree25b9a32b37149de243cdf82ace578b31cabab93d /elf/Makefile
parentc31746887dc5007f7b77f8f99b5e9335bebec167 (diff)
downloadglibc-b2fea743ab4992653b013a5317c8b630a0771f0e.tar.gz
glibc-b2fea743ab4992653b013a5317c8b630a0771f0e.tar.xz
glibc-b2fea743ab4992653b013a5317c8b630a0771f0e.zip
Fix building tst-linkall-static.
The crypt/ directory is not added as part of the sysdep directories.
Add it when building tst-linkall-static to include crypt.h.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 82c7e0559d..057a19fb2b 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1280,6 +1280,7 @@ $(objpfx)tst-ldconfig-X.out : tst-ldconfig-X.sh $(objpfx)ldconfig
 
 $(objpfx)tst-dlsym-error: $(libdl)
 
+CFLAGS-tst-linkall-static.c = -I../crypt
 $(objpfx)tst-linkall-static: \
   $(common-objpfx)math/libm.a \
   $(common-objpfx)crypt/libcrypt.a \