mirror of
https://github.com/robotn/gohook.git
synced 2025-01-18 21:56:40 +08:00
remove windows clink
This commit is contained in:
parent
763a9e4eae
commit
76d1c8b4cd
3
hook.go
3
hook.go
@ -3,10 +3,11 @@ package hook
|
|||||||
/*
|
/*
|
||||||
#cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations
|
#cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations
|
||||||
#cgo darwin LDFLAGS: -framework Cocoa
|
#cgo darwin LDFLAGS: -framework Cocoa
|
||||||
|
|
||||||
#cgo linux CFLAGS:-I/usr/src
|
#cgo linux CFLAGS:-I/usr/src
|
||||||
#cgo linux LDFLAGS: -L/usr/src -lX11 -lXtst
|
#cgo linux LDFLAGS: -L/usr/src -lX11 -lXtst
|
||||||
#cgo linux LDFLAGS: -lX11-xcb -lxcb -lxcb-xkb -lxkbcommon -lxkbcommon-x11
|
#cgo linux LDFLAGS: -lX11-xcb -lxcb -lxcb-xkb -lxkbcommon -lxkbcommon-x11
|
||||||
#cgo windows LDFLAGS: -lgdi32 -luser32
|
//#cgo windows LDFLAGS: -lgdi32 -luser32
|
||||||
|
|
||||||
#include "event/goEvent.h"
|
#include "event/goEvent.h"
|
||||||
// #include "event/hook_async.h"
|
// #include "event/hook_async.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user