Skip to content

Commit

Permalink
link: add libstdc++
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Oct 3, 2023
1 parent d866211 commit 9ebe513
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ name = "make_bitmap"
path = "src/devel/make_bitmap.rs"

[dependencies]
link-cplusplus = { version = "1.0", features = ["libstdc++"] }
geos = { version = "8" }
lazy_static = "1.4"
numpy = { version = "0.19" }
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ extern crate test;
#[macro_use]
extern crate lazy_static;

// geos-sys needs libc++, probably libstdc++. On Windows Conda builds this hopefully adds the
// correct flags to the linker.
extern crate link_cplusplus;

use numpy::{PyArray, PyReadonlyArrayDyn};
use pyo3::prelude::*;
use std::io;
Expand Down

0 comments on commit 9ebe513

Please sign in to comment.