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' }