mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Fix build on Solaris
d_type is not part of the POSIX spec unfortunately.
This commit is contained in:
parent
5bc12454fd
commit
cdb346c65e
3 changed files with 11 additions and 0 deletions
|
@ -48,6 +48,7 @@ test "$localstatedir" = '${prefix}/var' && localstatedir=/nix/var
|
|||
|
||||
|
||||
# Solaris-specific stuff.
|
||||
AC_STRUCT_DIRENT_D_TYPE
|
||||
if test "$sys_name" = sunos; then
|
||||
# Solaris requires -lsocket -lnsl for network functions
|
||||
LIBS="-lsocket -lnsl $LIBS"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue