cgo import not only for linux.
This commit is contained in:
parent
7df642a346
commit
9176fe3782
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
package xevent
|
||||
|
||||
/*
|
||||
#cgo linux LDFLAGS: -lX11 -lXfixes
|
||||
#cgo LDFLAGS: -lX11 -lXfixes
|
||||
|
||||
#include "xevent.h"
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package xorg
|
||||
|
||||
/*
|
||||
#cgo linux LDFLAGS: -lX11 -lXrandr -lXtst -lXfixes
|
||||
#cgo LDFLAGS: -lX11 -lXrandr -lXtst -lXfixes
|
||||
|
||||
#include "xorg.h"
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue