1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 02:43:54 +02:00

Merge pull request #685 from vizanto/master

POSIX compliant directory access (fixes build on Solaris)
This commit is contained in:
Eelco Dolstra 2016-01-05 13:49:55 +01:00
commit 6298afc047
3 changed files with 8 additions and 1 deletions

View file

@ -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"