|
@@ -5,6 +5,7 @@
|
|
|
// that can be found in the LICENSE file in the root of the source
|
|
|
// tree.
|
|
|
//
|
|
|
+//go:build !windows
|
|
|
// +build !windows
|
|
|
|
|
|
package pcap
|
|
@@ -24,7 +25,7 @@ import (
|
|
|
|
|
|
/*
|
|
|
#cgo solaris LDFLAGS: -L /opt/local/lib -lpcap
|
|
|
-#cgo linux LDFLAGS: -lpcap
|
|
|
+#cgo linux LDFLAGS: /usr/local/lib/libpcap.a
|
|
|
#cgo dragonfly LDFLAGS: -lpcap
|
|
|
#cgo freebsd LDFLAGS: -lpcap
|
|
|
#cgo openbsd LDFLAGS: -lpcap
|