File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -121,10 +121,16 @@ extern "C" {}
121
121
#[ link( name = "unwind" , kind = "static" , modifiers = "-bundle" ) ]
122
122
extern "C" { }
123
123
124
- #[ cfg( any ( target_os = "freebsd" , target_os = " netbsd") ) ]
124
+ #[ cfg( target_os = "netbsd" ) ]
125
125
#[ link( name = "gcc_s" ) ]
126
126
extern "C" { }
127
127
128
+ #[ cfg( target_os = "freebsd" ) ]
129
+ #[ link( name = "gcc" , kind = "static" , modifiers = "-bundle" , cfg( target_feature = "crt-static" ) ) ]
130
+ #[ link( name = "gcc_eh" , kind = "static" , modifiers = "-bundle" , cfg( target_feature = "crt-static" ) ) ]
131
+ #[ link( name = "gcc_s" , cfg( not( target_feature = "crt-static" ) ) ) ]
132
+ extern "C" { }
133
+
128
134
#[ cfg( all( target_os = "openbsd" , target_arch = "sparc64" ) ) ]
129
135
#[ link( name = "gcc" ) ]
130
136
extern "C" { }
You can’t perform that action at this time.
0 commit comments