forked from M-Labs/nalgebra
Add extern crate declarations for lapack{-src}
Without these declarations, `nalgebra-lapack` does not have runtime linkage requirements for these libraries, meaning that binaries and libraries using `nalgebra-lapack` have to link `lapack`/`lapack-src` explicitly which shouldn't be necessary.
This commit is contained in:
parent
640ab4b12d
commit
97aebf8089
@ -73,6 +73,9 @@
|
|||||||
html_root_url = "https://nalgebra.org/rustdoc"
|
html_root_url = "https://nalgebra.org/rustdoc"
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
extern crate lapack;
|
||||||
|
extern crate lapack_src;
|
||||||
|
|
||||||
extern crate nalgebra as na;
|
extern crate nalgebra as na;
|
||||||
extern crate num_traits as num;
|
extern crate num_traits as num;
|
||||||
|
|
||||||
|
@ -6,9 +6,6 @@ compile_error!("Tests must be run with `proptest-support`");
|
|||||||
extern crate nalgebra as na;
|
extern crate nalgebra as na;
|
||||||
extern crate nalgebra_lapack as nl;
|
extern crate nalgebra_lapack as nl;
|
||||||
|
|
||||||
extern crate lapack;
|
|
||||||
extern crate lapack_src;
|
|
||||||
|
|
||||||
mod linalg;
|
mod linalg;
|
||||||
#[path = "../../tests/proptest/mod.rs"]
|
#[path = "../../tests/proptest/mod.rs"]
|
||||||
mod proptest;
|
mod proptest;
|
||||||
|
Loading…
Reference in New Issue
Block a user