Add include/crypt.h.

To support tests that include crypt.h we add a wrapper.
This commit is contained in:
Carlos O'Donell 2016-10-28 16:17:30 -04:00
parent 1b16ff0b1e
commit 960294f00a
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-10-28 Carlos O'Donell <carlos@redhat.com>
* elf/Makefile (CFALGS-tst-linkall-static): Remove.
* include/crypt.h: New file.
2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
* dlfcn/bug-atexit3-lib.cc (write_message): New function, copied

View File

@ -1280,7 +1280,6 @@ $(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 \

3
include/crypt.h Normal file
View File

@ -0,0 +1,3 @@
#ifndef _CRYPT_H
# include <crypt/crypt.h>
#endif /* _CRYPT_H */