From 3dce6b1204f3827c2cea4e4db419109f4385c5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sat, 14 May 2022 18:56:09 +0200 Subject: [PATCH] fix cgo flags. --- server/internal/xorg/xorg.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/internal/xorg/xorg.go b/server/internal/xorg/xorg.go index 874bf4c..9da7d40 100644 --- a/server/internal/xorg/xorg.go +++ b/server/internal/xorg/xorg.go @@ -1,8 +1,8 @@ package xorg /* -#cgo linux CFLAGS: -I/usr/src -I/usr/local/include/ -#cgo linux LDFLAGS: /usr/local/lib/libclipboard.a -L/usr/src -L/usr/local/lib -lX11 -lXtst -lXrandr -lxcb +#cgo CFLAGS: -I/usr/local/include/ +#cgo LDFLAGS: /usr/local/lib/libclipboard.a -L/usr/local/lib -lX11 -lXtst -lXrandr -lxcb #include "xorg.h" */