@@ -4648,6 +4648,7 @@ libc_function(
4648
4648
name = "socket" ,
4649
4649
srcs = ["src/sys/socket/linux/socket.cpp" ],
4650
4650
hdrs = ["src/sys/socket/socket.h" ],
4651
+ weak = True ,
4651
4652
deps = [
4652
4653
":__support_common" ,
4653
4654
":__support_osutil_syscall" ,
@@ -4659,6 +4660,7 @@ libc_function(
4659
4660
name = "socketpair" ,
4660
4661
srcs = ["src/sys/socket/linux/socketpair.cpp" ],
4661
4662
hdrs = ["src/sys/socket/socketpair.h" ],
4663
+ weak = True ,
4662
4664
deps = [
4663
4665
":__support_common" ,
4664
4666
":__support_osutil_syscall" ,
@@ -4670,6 +4672,7 @@ libc_function(
4670
4672
name = "send" ,
4671
4673
srcs = ["src/sys/socket/linux/send.cpp" ],
4672
4674
hdrs = ["src/sys/socket/send.h" ],
4675
+ weak = True ,
4673
4676
deps = [
4674
4677
":__support_common" ,
4675
4678
":__support_osutil_syscall" ,
@@ -4684,6 +4687,7 @@ libc_function(
4684
4687
name = "sendto" ,
4685
4688
srcs = ["src/sys/socket/linux/sendto.cpp" ],
4686
4689
hdrs = ["src/sys/socket/sendto.h" ],
4690
+ weak = True ,
4687
4691
deps = [
4688
4692
":__support_common" ,
4689
4693
":__support_osutil_syscall" ,
@@ -4698,6 +4702,7 @@ libc_function(
4698
4702
name = "sendmsg" ,
4699
4703
srcs = ["src/sys/socket/linux/sendmsg.cpp" ],
4700
4704
hdrs = ["src/sys/socket/sendmsg.h" ],
4705
+ weak = True ,
4701
4706
deps = [
4702
4707
":__support_common" ,
4703
4708
":__support_osutil_syscall" ,
@@ -4711,6 +4716,7 @@ libc_function(
4711
4716
name = "recv" ,
4712
4717
srcs = ["src/sys/socket/linux/recv.cpp" ],
4713
4718
hdrs = ["src/sys/socket/recv.h" ],
4719
+ weak = True ,
4714
4720
deps = [
4715
4721
":__support_common" ,
4716
4722
":__support_osutil_syscall" ,
@@ -4725,6 +4731,7 @@ libc_function(
4725
4731
name = "recvfrom" ,
4726
4732
srcs = ["src/sys/socket/linux/recvfrom.cpp" ],
4727
4733
hdrs = ["src/sys/socket/recvfrom.h" ],
4734
+ weak = True ,
4728
4735
deps = [
4729
4736
":__support_common" ,
4730
4737
":__support_osutil_syscall" ,
@@ -4739,6 +4746,7 @@ libc_function(
4739
4746
name = "recvmsg" ,
4740
4747
srcs = ["src/sys/socket/linux/recvmsg.cpp" ],
4741
4748
hdrs = ["src/sys/socket/recvmsg.h" ],
4749
+ weak = True ,
4742
4750
deps = [
4743
4751
":__support_common" ,
4744
4752
":__support_osutil_syscall" ,
0 commit comments