Skip to content

Commit d60372b

Browse files
committed
fix: #37 by tweaking incompatible-pointer-types
1 parent f90d505 commit d60372b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

frida/frida.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ package frida
88

99
/*
1010
#cgo LDFLAGS: -lfrida-core -lm -ldl
11-
#cgo CFLAGS: -I/usr/local/include/ -w
11+
#cgo CFLAGS: -I/usr/local/include/ -w -Wno-error=incompatible-function-pointer-types
1212
#cgo darwin LDFLAGS: -lbsm -framework IOKit -framework Foundation -framework AppKit -lpthread
13-
#cgo darwin CFLAGS: -Wno-error=incompatible-function-pointer-types
1413
#cgo android LDFLAGS: -llog
15-
#cgo android CFLAGS: -DANDROID -Wno-error=incompatible-function-pointer-types
14+
#cgo android CFLAGS: -DANDROID
1615
#cgo linux,!android LDFLAGS: -lrt -lresolv -lpthread
1716
#cgo linux CFLAGS: -pthread
1817
#include <frida-core.h>

0 commit comments

Comments
 (0)