diff options
author | bors <bors@rust-lang.org> | 2023-04-26 10:22:22 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-04-26 10:22:22 +0000 |
commit | f5541af868743f5ccccc1ac40f0ac776f21f31cb (patch) | |
tree | 57e8380172f9d3dcf4e4facaf2b25263734f2138 | |
parent | 5744793b48ddd451ed0690e486845f60280150a3 (diff) | |
parent | 2bc73cc37903d62eaad77096e9fb5aeac90be5af (diff) | |
download | rust-libc-f5541af868743f5ccccc1ac40f0ac776f21f31cb.tar.gz |
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.
-rw-r--r-- | src/unix/haiku/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/haiku/mod.rs b/src/unix/haiku/mod.rs index 2fa3327834..c1a38f1b36 100644 --- a/src/unix/haiku/mod.rs +++ b/src/unix/haiku/mod.rs @@ -2055,7 +2055,7 @@ extern "C" { ) -> ::c_int; } -#[link(name = "unix")] +#[link(name = "gnu")] extern "C" { pub fn memmem( source: *const ::c_void, |