From b03d4ab7e3e69f1ecce561c706b43cb40b172c9b Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Fri, 24 Apr 2026 17:10:29 -0400 Subject: [PATCH] build: add Makefile with webkit2_41 build tag for Linux Wails v2 defaults to linking against webkit2gtk-4.0, but modern Linux distributions (e.g. Fedora) only ship webkit2gtk-4.1. The webkit2_41 build tag tells Wails to link against the correct library. Provides two targets: - make dev: run wails dev with the correct tag - make build: build the production binary with the correct tag - make clean: remove build artifacts --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b778465 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +TAGS := webkit2_41 + +.PHONY: dev build clean + +dev: + wails dev -tags $(TAGS) + +build: + wails build -tags $(TAGS) + +clean: + rm -rf build/bin/*