We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd561b7 commit e1eff47Copy full SHA for e1eff47
dpdk-sys/build.rs
@@ -182,7 +182,7 @@ impl State {
182
fn find_dpdk(&mut self) {
183
// To find correct lib path of this platform.
184
185
- let lib = pkg_config::probe_library("libdpdk").unwrap();
+ let lib = pkg_config::Config::new().statik(true).probe("libdpdk").unwrap();
186
187
let include_path = if !lib.include_paths.is_empty() {
188
lib.include_paths[0].clone()
0 commit comments