This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix building with --enable-nss-crypt.
- From: Florian Weimer <fweimer at redhat dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 22 Nov 2016 17:57:04 +0100
- Subject: Re: [PATCH] Fix building with --enable-nss-crypt.
- Authentication-results: sourceware.org; auth=none
- References: <827ecdb7-8adb-c244-08bd-50ce1afe0b83@redhat.com>
On 11/18/2016 03:45 AM, Carlos O'Donell wrote:
2016-11-17 Carlos O'Donell <carlos@redhat.com>
* configure.ac: Test for static NSS cryptographic libraries and set
libc_cv_static_nss_crypt.
* configure: Regenerate.
* config.make.in (static-nss-crypt): Define.
* elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
[ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
(CFLAGS-tst-linkall-static.c): Define.
($(objpfx)tst-linkall-static): Remove libcrypt.a.
[ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
($(objpfx)tst-linkall-static): Define.
[ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
* elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
Looks okay to me.
Thanks,
Florian