Skip to content

Commit

Permalink
Revert "fix: #37 by tweaking incompatible-pointer-types"
Browse files Browse the repository at this point in the history
This reverts commit d60372b.
  • Loading branch information
NSEcho committed Jun 14, 2024
1 parent ae0ff76 commit 4655130
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frida/frida.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ package frida

/*
#cgo LDFLAGS: -lfrida-core -lm -ldl
#cgo CFLAGS: -I/usr/local/include/ -w -Wno-error=incompatible-function-pointer-types
#cgo CFLAGS: -I/usr/local/include/ -w
#cgo darwin LDFLAGS: -lbsm -framework IOKit -framework Foundation -framework AppKit -lpthread
#cgo darwin CFLAGS: -Wno-error=incompatible-function-pointer-types
#cgo android LDFLAGS: -llog
#cgo android CFLAGS: -DANDROID
#cgo android CFLAGS: -DANDROID -Wno-error=incompatible-function-pointer-types
#cgo linux,!android LDFLAGS: -lrt -lresolv -lpthread
#cgo linux CFLAGS: -pthread
#include <frida-core.h>
Expand Down

0 comments on commit 4655130

Please sign in to comment.