diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-01-16 17:32:52 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-01-16 17:32:52 +0900 |
| commit | b60c01f4405ec3b5cc4a740fe994c3b9f39cf01f (patch) | |
| tree | 3d43cd726a26bba2336d2373a6dfe65a567a35a8 /wl/c.go | |
| parent | 124743ffd3da7c31ef9c562593e15d88bb19008e (diff) | |
fortify: switch to static linking
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'wl/c.go')
| -rw-r--r-- | wl/c.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 <stdint.h> #include <stdlib.h> #include <stdio.h> +#include <string.h> #include <unistd.h> #include <sys/socket.h> |
