summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorLeon Timmermans <fawaka@gmail.com>2022-09-04 14:39:56 +0200
committerLeon Timmermans <fawaka@gmail.com>2022-09-05 19:00:50 +0200
commitebf8e1962065fb9f16a6f6c76fa3c0d49d6e7193 (patch)
tree4a35ca93b84e208daec18c9087dee0a763fba2f0 /hints
parent178616fe14feb613d5a76b07ebd6e2c901355876 (diff)
downloadperl-ebf8e1962065fb9f16a6f6c76fa3c0d49d6e7193.tar.gz
Explicitly add nsl to libswanted on Solaris
7e19816aa8661ce0e984742e2df11dd20dcdff18 removed it from the default list, but it is apparently still necessary on Solaris so we add it back in the hints file.
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 21bfc8756e..15928c7d6d 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -63,6 +63,10 @@ esac
set `echo " $libswanted " | sed -e 's@ ld @ @' -e 's@ malloc @ @' -e 's@ ucb @ @' -e 's@ sec @ @' -e 's@ crypt @ @'`
libswanted="$*"
+# Add libnsl for networking support
+set `echo " $libswanted " | sed -e 's@ inet @ inet nsl @'`
+libswanted="$*"
+
# Look for architecture name. We want to suggest a useful default.
case "$archname" in
'')