Skip to content

Commit

Permalink
Auto merge of #3222 - jessicah:fix-haiku-memmem, r=JohnTitor
Browse files Browse the repository at this point in the history
haiku: fix incorrect linked library.

Introduced in fb2a763; using a non-existent "libunix". This is in libgnu.
  • Loading branch information
bors committed Apr 26, 2023
2 parents 5744793 + 2bc73cc commit f5541af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/haiku/mod.rs
Expand Up @@ -2055,7 +2055,7 @@ extern "C" {
) -> ::c_int;
}

#[link(name = "unix")]
#[link(name = "gnu")]
extern "C" {
pub fn memmem(
source: *const ::c_void,
Expand Down

0 comments on commit f5541af

Please sign in to comment.