Skip to content

Commit

Permalink
Use vendored libpcap.a and related headers
Browse files Browse the repository at this point in the history
Signed-off-by: Martynas Pumputis <m@lambda.lt>
  • Loading branch information
brb committed Jul 5, 2023
1 parent b6e7f19 commit 1e99df0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/libpcap/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import (
)

/*
#cgo LDFLAGS: -L/usr/local/lib -lpcap -static
#cgo CFLAGS: -I${SRCDIR}/../../libpcap
#cgo LDFLAGS: -L${SRCDIR}/../../libpcap -lpcap -static
#include <stdlib.h>
#include <pcap.h>
*/
Expand Down

0 comments on commit 1e99df0

Please sign in to comment.