Skip to content

Commit ebf8e19

Browse files
committed
Explicitly add nsl to libswanted on Solaris
7e19816 removed it from the default list, but it is apparently still necessary on Solaris so we add it back in the hints file.
1 parent 178616f commit ebf8e19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hints/solaris_2.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ esac
6363
set `echo " $libswanted " | sed -e 's@ ld @ @' -e 's@ malloc @ @' -e 's@ ucb @ @' -e 's@ sec @ @' -e 's@ crypt @ @'`
6464
libswanted="$*"
6565

66+
# Add libnsl for networking support
67+
set `echo " $libswanted " | sed -e 's@ inet @ inet nsl @'`
68+
libswanted="$*"
69+
6670
# Look for architecture name. We want to suggest a useful default.
6771
case "$archname" in
6872
'')

0 commit comments

Comments
 (0)