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