Skip to content

Commit

Permalink
Merge pull request #1250 from messense/lib64
Browse files Browse the repository at this point in the history
Fix build error in manylinux docker container
  • Loading branch information
Cobrand authored Aug 30, 2022
2 parents bf02afe + 87c9486 commit 568a1af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ when upgrading from a version of rust-sdl2 to another.
### Unreleased

[PR #1225](https://github.com/Rust-SDL2/rust-sdl2/pull/1225) Update wgpu to 0.12 and fix raw-window-handle-with-wgpu example
[PR #1250](https://github.com/Rust-SDL2/rust-sdl2/pull/1250) Add `lib64` to native library search path when using bundled feature

### v0.35.2

Expand Down
7 changes: 5 additions & 2 deletions sdl2-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,13 @@ fn main() {
{
sdl2_compiled_path = compile_sdl2(sdl2_source_path.as_path(), target_os);

let sdl2_compiled_lib_path = sdl2_compiled_path.join("lib");
println!(
"cargo:rustc-link-search={}",
sdl2_compiled_lib_path.display()
sdl2_compiled_path.join("lib64").display()
);
println!(
"cargo:rustc-link-search={}",
sdl2_compiled_path.join("lib").display()
);
}

Expand Down

0 comments on commit 568a1af

Please sign in to comment.