You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

  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(). Enable crypt() usage for glibc builds only
  6. ($owrt:libc ne 'glibc') {
  7. crypt_r_proto='0'
  8. i_crypt='undef'
  9. d_crypt='undef'
  10. d_crypt_r='undef'
  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. d_stdio_ptr_lval='undef'
  17. d_stdio_ptr_lval_sets_cnt='undef'
  18. d_stdiobase='undef'
  19. d_stdstdio='undef'
  20. d_getnetbyname_r='undef'
  21. d_getprotobyname_r='undef'
  22. d_getpwent_r='undef'
  23. d_getservent_r='undef'
  24. d_gethostent_r='undef'
  25. d_getnetent_r='undef'
  26. d_getnetbyaddr_r='undef'
  27. d_getprotoent_r='undef'
  28. d_getprotobynumber_r='undef'
  29. d_getgrent_r='undef'
  30. getprotobyname_r='undef'
  31. getpwent_r='undef'
  32. getservent_r='undef'
  33. gethostent_r='undef'
  34. getnetent_r='undef'
  35. getnetbyaddr_r='undef'
  36. getprotoent_r='undef'
  37. getprotobynumber_r='undef'
  38. getgrent_r='undef'
  39. i_fcntl='define'
  40. h_fcntl='true'
  41. d_strerror_r='undef'
  42. }