cgo import not only for linux.

This commit is contained in:
Miroslav Šedivý 2021-06-28 18:10:48 +02:00
parent 7df642a346
commit 9176fe3782
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
package xevent
/*
#cgo linux LDFLAGS: -lX11 -lXfixes
#cgo LDFLAGS: -lX11 -lXfixes
#include "xevent.h"
*/

View File

@ -1,7 +1,7 @@
package xorg
/*
#cgo linux LDFLAGS: -lX11 -lXrandr -lXtst -lXfixes
#cgo LDFLAGS: -lX11 -lXrandr -lXtst -lXfixes
#include "xorg.h"
*/