|
@@ -24,7 +24,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: -Wl,-Bstatic -lpcap -Wl,-Bdynamic
|
|
#cgo dragonfly LDFLAGS: -lpcap
|
|
#cgo dragonfly LDFLAGS: -lpcap
|
|
#cgo freebsd LDFLAGS: -lpcap
|
|
#cgo freebsd LDFLAGS: -lpcap
|
|
#cgo openbsd LDFLAGS: -lpcap
|
|
#cgo openbsd LDFLAGS: -lpcap
|