pnet 0.6.2

Cross-platform, low level networking using the Rust programming language.
diff --git a/build.rs b/build.rs
index f328e4d..d419727 100644
--- a/build.rs
+++ b/build.rs
@@ -1 +1,6 @@
-fn main() {}
+use std::env;
+
+fn main() {
+    let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
+    println!("cargo:rustc-link-search=native={}/lib", manifest_dir);
+}
diff --git a/src/bindings/winpcap.rs b/src/bindings/winpcap.rs
index 5452688..e29cb29 100644
--- a/src/bindings/winpcap.rs
+++ b/src/bindings/winpcap.rs
@@ -348,7 +348,6 @@ extern "system" {
 }

 #[link(name = "Packet")]
-#[link_args = "/LIBPATH:lib"]
 #[allow(improper_ctypes)]
 extern {
     // from Packet32.h
diff --git a/src/lib.rs b/src/lib.rs
index 70600c0..022ecaa 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -112,7 +112,6 @@
 #![cfg_attr(feature="clippy", allow(explicit_counter_loop))]
 // We can't implement Iterator since we use streaming iterators
 #![cfg_attr(feature="clippy", allow(should_implement_trait))]
-#![cfg_attr(windows, feature(link_args))]

 extern crate libc;
 extern crate pnet_macros;