libc.config 1002 B

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