void-packages/srcpkgs/pwru/patches/pcap.patch

12 lines
280 B
Diff

--- a/internal/libpcap/compile.go
+++ b/internal/libpcap/compile.go
@@ -11,7 +11,7 @@
/*
#cgo CFLAGS: -I${SRCDIR}/../../libpcap
-#cgo LDFLAGS: -L${SRCDIR}/../../libpcap -lpcap -static
+#cgo LDFLAGS: -L${SRCDIR}/../../libpcap -lpcap
#include <stdlib.h>
#include <pcap.h>
*/