From 51bef7ad20bee14742b309a85041924b1549786e Mon Sep 17 00:00:00 2001 From: Marcel Denia Date: Fri, 30 Oct 2015 14:24:06 +0100 Subject: [PATCH] perl: Enable crypt() for all libc implementations Signed-off-by: Marcel Denia --- lang/perl/files/libc.config | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lang/perl/files/libc.config b/lang/perl/files/libc.config index 2c355a3ce..93d190c5a 100644 --- a/lang/perl/files/libc.config +++ b/lang/perl/files/libc.config @@ -3,11 +3,9 @@ ldflags="$ldflags -L$owrt:staging_dir/lib" } -# uclibc does not provide crypt_r(). Enable crypt() usage for glibc builds only -($owrt:libc ne 'glibc') { +# uclibc does not provide crypt_r(). +($owrt:libc eq 'uclibc') { crypt_r_proto='0' - i_crypt='undef' - d_crypt='undef' d_crypt_r='undef' }