From 9176fe3782accd3cd0bece7326c472973ae961f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Mon, 28 Jun 2021 18:10:48 +0200 Subject: [PATCH] cgo import not only for linux. --- internal/desktop/xevent/xevent.go | 2 +- internal/desktop/xorg/xorg.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/desktop/xevent/xevent.go b/internal/desktop/xevent/xevent.go index 461e79c5..fc91e919 100644 --- a/internal/desktop/xevent/xevent.go +++ b/internal/desktop/xevent/xevent.go @@ -1,7 +1,7 @@ package xevent /* -#cgo linux LDFLAGS: -lX11 -lXfixes +#cgo LDFLAGS: -lX11 -lXfixes #include "xevent.h" */ diff --git a/internal/desktop/xorg/xorg.go b/internal/desktop/xorg/xorg.go index e605fd5b..4598f6cf 100644 --- a/internal/desktop/xorg/xorg.go +++ b/internal/desktop/xorg/xorg.go @@ -1,7 +1,7 @@ package xorg /* -#cgo linux LDFLAGS: -lX11 -lXrandr -lXtst -lXfixes +#cgo LDFLAGS: -lX11 -lXrandr -lXtst -lXfixes #include "xorg.h" */