This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Darwin needs -traditional-cpp for cppflags to build Errno.
[perl5.git] / hints / sco.sh
index 1c70a4d..079ab78 100644 (file)
@@ -181,6 +181,13 @@ shift
 libswanted="$*"
 
 ###############################################################
+# Remove libbind because it conflicts with libsocket.
+libswanted=`echo " $libswanted " | sed -e 's/ bind / /'`
+set X $libswanted
+shift
+libswanted="$*"
+
+###############################################################
 # Try to use libintl.a since it has strcoll and strxfrm
 libswanted="intl $libswanted"