Skip to content

Commit f5541af

Browse files
committed
Auto merge of #3222 - jessicah:fix-haiku-memmem, r=JohnTitor
haiku: fix incorrect linked library. Introduced in fb2a763; using a non-existent "libunix". This is in libgnu.
2 parents 5744793 + 2bc73cc commit f5541af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/haiku/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@ extern "C" {
20552055
) -> ::c_int;
20562056
}
20572057

2058-
#[link(name = "unix")]
2058+
#[link(name = "gnu")]
20592059
extern "C" {
20602060
pub fn memmem(
20612061
source: *const ::c_void,

0 commit comments

Comments
 (0)