Skip to content

Commit

Permalink
Merge pull request #6 from danielarndt/master
Browse files Browse the repository at this point in the history
Make gopcap goinstallable.
  • Loading branch information
akrennmair committed Aug 30, 2011
2 parents a377f79 + 2c174f8 commit d9063fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Makefile
Expand Up @@ -4,7 +4,6 @@ TARG=pcap
GOFILES=decode.go\
io.go
CGOFILES=pcap.go
CGO_LDFLAGS=-lpcap
CLEANFILES=pcaptest tcpdump

include $(GOROOT)/src/Make.pkg
Expand Down
1 change: 1 addition & 0 deletions pcap.go
@@ -1,6 +1,7 @@
package pcap

/*
#cgo LDFLAGS: -lpcap
struct pcap { int dummy; };
#include <stdlib.h>
#include <pcap.h>
Expand Down

0 comments on commit d9063fe

Please sign in to comment.