Files
piik/native/capture/linux/build.sh
T
AAA da47189fc3 refactor: unify Go runtime and audited frontend
Squash integration of the reviewed Go core, frontend audit fixes, release tooling, and deployment hygiene. CI passed all Server/Client jobs.
2026-09-06 23:26:01 +08:00

25 lines
412 B
Bash

#!/bin/sh
set -eu
if [ "$#" -ne 1 ]; then
echo "usage: build.sh <output-directory>" >&2
exit 2
fi
output=$1
mkdir -p "$output"
cc \
-std=c11 \
-O2 \
-Wall \
-Wextra \
-Werror \
"$(dirname "$0")/main.c" \
"$(dirname "$0")/portal.c" \
$(pkg-config --cflags --libs \
libportal \
gstreamer-1.0 \
gstreamer-app-1.0 \
gstreamer-video-1.0) \
-o "$output/screener-client-capture"