@@ -4648,6 +4648,7 @@ libc_function(
46484648 name = "socket" ,
46494649 srcs = ["src/sys/socket/linux/socket.cpp" ],
46504650 hdrs = ["src/sys/socket/socket.h" ],
4651+ weak = True ,
46514652 deps = [
46524653 ":__support_common" ,
46534654 ":__support_osutil_syscall" ,
@@ -4659,6 +4660,7 @@ libc_function(
46594660 name = "socketpair" ,
46604661 srcs = ["src/sys/socket/linux/socketpair.cpp" ],
46614662 hdrs = ["src/sys/socket/socketpair.h" ],
4663+ weak = True ,
46624664 deps = [
46634665 ":__support_common" ,
46644666 ":__support_osutil_syscall" ,
@@ -4670,6 +4672,7 @@ libc_function(
46704672 name = "send" ,
46714673 srcs = ["src/sys/socket/linux/send.cpp" ],
46724674 hdrs = ["src/sys/socket/send.h" ],
4675+ weak = True ,
46734676 deps = [
46744677 ":__support_common" ,
46754678 ":__support_osutil_syscall" ,
@@ -4684,6 +4687,7 @@ libc_function(
46844687 name = "sendto" ,
46854688 srcs = ["src/sys/socket/linux/sendto.cpp" ],
46864689 hdrs = ["src/sys/socket/sendto.h" ],
4690+ weak = True ,
46874691 deps = [
46884692 ":__support_common" ,
46894693 ":__support_osutil_syscall" ,
@@ -4698,6 +4702,7 @@ libc_function(
46984702 name = "sendmsg" ,
46994703 srcs = ["src/sys/socket/linux/sendmsg.cpp" ],
47004704 hdrs = ["src/sys/socket/sendmsg.h" ],
4705+ weak = True ,
47014706 deps = [
47024707 ":__support_common" ,
47034708 ":__support_osutil_syscall" ,
@@ -4711,6 +4716,7 @@ libc_function(
47114716 name = "recv" ,
47124717 srcs = ["src/sys/socket/linux/recv.cpp" ],
47134718 hdrs = ["src/sys/socket/recv.h" ],
4719+ weak = True ,
47144720 deps = [
47154721 ":__support_common" ,
47164722 ":__support_osutil_syscall" ,
@@ -4725,6 +4731,7 @@ libc_function(
47254731 name = "recvfrom" ,
47264732 srcs = ["src/sys/socket/linux/recvfrom.cpp" ],
47274733 hdrs = ["src/sys/socket/recvfrom.h" ],
4734+ weak = True ,
47284735 deps = [
47294736 ":__support_common" ,
47304737 ":__support_osutil_syscall" ,
@@ -4739,6 +4746,7 @@ libc_function(
47394746 name = "recvmsg" ,
47404747 srcs = ["src/sys/socket/linux/recvmsg.cpp" ],
47414748 hdrs = ["src/sys/socket/recvmsg.h" ],
4749+ weak = True ,
47424750 deps = [
47434751 ":__support_common" ,
47444752 ":__support_osutil_syscall" ,
0 commit comments