@@ -4650,6 +4650,7 @@ libc_function(
46504650 name = "socket" ,
46514651 srcs = ["src/sys/socket/linux/socket.cpp" ],
46524652 hdrs = ["src/sys/socket/socket.h" ],
4653+ weak = True ,
46534654 deps = [
46544655 ":__support_common" ,
46554656 ":__support_osutil_syscall" ,
@@ -4661,6 +4662,7 @@ libc_function(
46614662 name = "socketpair" ,
46624663 srcs = ["src/sys/socket/linux/socketpair.cpp" ],
46634664 hdrs = ["src/sys/socket/socketpair.h" ],
4665+ weak = True ,
46644666 deps = [
46654667 ":__support_common" ,
46664668 ":__support_osutil_syscall" ,
@@ -4672,6 +4674,7 @@ libc_function(
46724674 name = "send" ,
46734675 srcs = ["src/sys/socket/linux/send.cpp" ],
46744676 hdrs = ["src/sys/socket/send.h" ],
4677+ weak = True ,
46754678 deps = [
46764679 ":__support_common" ,
46774680 ":__support_osutil_syscall" ,
@@ -4686,6 +4689,7 @@ libc_function(
46864689 name = "sendto" ,
46874690 srcs = ["src/sys/socket/linux/sendto.cpp" ],
46884691 hdrs = ["src/sys/socket/sendto.h" ],
4692+ weak = True ,
46894693 deps = [
46904694 ":__support_common" ,
46914695 ":__support_osutil_syscall" ,
@@ -4700,6 +4704,7 @@ libc_function(
47004704 name = "sendmsg" ,
47014705 srcs = ["src/sys/socket/linux/sendmsg.cpp" ],
47024706 hdrs = ["src/sys/socket/sendmsg.h" ],
4707+ weak = True ,
47034708 deps = [
47044709 ":__support_common" ,
47054710 ":__support_osutil_syscall" ,
@@ -4713,6 +4718,7 @@ libc_function(
47134718 name = "recv" ,
47144719 srcs = ["src/sys/socket/linux/recv.cpp" ],
47154720 hdrs = ["src/sys/socket/recv.h" ],
4721+ weak = True ,
47164722 deps = [
47174723 ":__support_common" ,
47184724 ":__support_osutil_syscall" ,
@@ -4727,6 +4733,7 @@ libc_function(
47274733 name = "recvfrom" ,
47284734 srcs = ["src/sys/socket/linux/recvfrom.cpp" ],
47294735 hdrs = ["src/sys/socket/recvfrom.h" ],
4736+ weak = True ,
47304737 deps = [
47314738 ":__support_common" ,
47324739 ":__support_osutil_syscall" ,
@@ -4741,6 +4748,7 @@ libc_function(
47414748 name = "recvmsg" ,
47424749 srcs = ["src/sys/socket/linux/recvmsg.cpp" ],
47434750 hdrs = ["src/sys/socket/recvmsg.h" ],
4751+ weak = True ,
47444752 deps = [
47454753 ":__support_common" ,
47464754 ":__support_osutil_syscall" ,
0 commit comments