libc.config (1002B)
1 ($owrt:libc eq 'glibc') { 2 perllibs="$perllibs -lbsd" 3 ldflags="$ldflags -L$owrt:staging_dir/lib" 4 } 5 6 # uclibc does not provide crypt_r(). 7 ($owrt:libc eq 'uclibc') { 8 crypt_r_proto='0' 9 d_crypt_r='undef' 10 } 11 12 ($owrt:libc eq 'musl') { 13 # musl does not provide a working setlocale(). It accepts arbitrary locales 14 # and makes them act as if they were C.UTF-8. 15 d_setlocale='undef' 16 17 d_stdio_ptr_lval='undef' 18 d_stdio_ptr_lval_sets_cnt='undef' 19 d_stdiobase='undef' 20 d_stdstdio='undef' 21 22 d_getnetbyname_r='undef' 23 24 d_getprotobyname_r='undef' 25 d_getpwent_r='undef' 26 d_getservent_r='undef' 27 d_gethostent_r='undef' 28 d_getnetent_r='undef' 29 d_getnetbyaddr_r='undef' 30 d_getprotoent_r='undef' 31 d_getprotobynumber_r='undef' 32 d_getgrent_r='undef' 33 34 getprotobyname_r='undef' 35 getpwent_r='undef' 36 getservent_r='undef' 37 gethostent_r='undef' 38 getnetent_r='undef' 39 getnetbyaddr_r='undef' 40 getprotoent_r='undef' 41 getprotobynumber_r='undef' 42 getgrent_r='undef' 43 44 i_fcntl='define' 45 h_fcntl='true' 46 d_strerror_r='undef' 47 }