File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,10 @@ pub fn opts() -> TargetOptions {
16
16
linker : "cc" . to_string ( ) ,
17
17
dynamic_linking : true ,
18
18
executables : true ,
19
- has_rpath : true ,
19
+ has_rpath : false ,
20
20
target_family : Some ( "unix" . to_string ( ) ) ,
21
21
linker_is_gnu : true ,
22
+ no_integrated_as : true ,
22
23
.. Default :: default ( )
23
24
}
24
25
}
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ mod imp {
113
113
pub l_sysid : libc:: c_int ,
114
114
}
115
115
116
+ pub const F_RDLCK : libc:: c_short = 0x0040 ;
116
117
pub const F_UNLCK : libc:: c_short = 0x0200 ;
117
118
pub const F_WRLCK : libc:: c_short = 0x0400 ;
118
119
pub const F_SETLK : libc:: c_int = 0x0080 ;
Original file line number Diff line number Diff line change @@ -39,5 +39,7 @@ fn main() {
39
39
println ! ( "cargo:rustc-link-lib=static-nobundle=pthread" ) ;
40
40
} else if target. contains ( "fuchsia" ) {
41
41
println ! ( "cargo:rustc-link-lib=unwind" ) ;
42
+ } else if target. contains ( "haiku" ) {
43
+ println ! ( "cargo:rustc-link-lib=gcc_s" ) ;
42
44
}
43
45
}
You can’t perform that action at this time.
0 commit comments