From b60c01f4405ec3b5cc4a740fe994c3b9f39cf01f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 16 Jan 2025 17:32:52 +0900 Subject: fortify: switch to static linking Signed-off-by: Ophestra --- wl/c.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wl') diff --git a/wl/c.go b/wl/c.go index 97c641bb..b571e063 100644 --- a/wl/c.go +++ b/wl/c.go @@ -4,12 +4,13 @@ package wl //go:generate sh -c "wayland-scanner private-code `pkg-config --variable=datarootdir wayland-protocols`/wayland-protocols/staging/security-context/security-context-v1.xml security-context-v1-protocol.c" /* -#cgo linux pkg-config: wayland-client +#cgo linux pkg-config: --static wayland-client #cgo freebsd openbsd LDFLAGS: -lwayland-client #include #include #include +#include #include #include -- cgit v1.3.1