Skip to content

Commit e1eff47

Browse files
committed
indicate static
1 parent cd561b7 commit e1eff47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpdk-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ impl State {
182182
fn find_dpdk(&mut self) {
183183
// To find correct lib path of this platform.
184184

185-
let lib = pkg_config::probe_library("libdpdk").unwrap();
185+
let lib = pkg_config::Config::new().statik(true).probe("libdpdk").unwrap();
186186

187187
let include_path = if !lib.include_paths.is_empty() {
188188
lib.include_paths[0].clone()

0 commit comments

Comments
 (0)