From 2d63185dc0dc676b02c50352ddf7ef2e7733a7b9 Mon Sep 17 00:00:00 2001 From: njohnson Date: Tue, 13 Jan 2026 14:45:13 -0500 Subject: [PATCH] Fix macOS CLI build: add zlib linkage for Unix platforms The CLI tool was missing the system zlib linkage that app.pro already had, causing undefined symbol errors for zlib functions on macOS. Co-Authored-By: Claude Opus 4.5 --- tools/cli/cli.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/cli/cli.pro b/tools/cli/cli.pro index 4309256..2389b30 100644 --- a/tools/cli/cli.pro +++ b/tools/cli/cli.pro @@ -19,6 +19,11 @@ win32 { LIBS += -L$$PWD/../../third_party/xbox_sdk/lib -lxcompress64 } +# macOS/Linux: use system zlib +unix { + LIBS += -lz +} + # Include paths INCLUDEPATH += \ $$PWD/../../libs/dsl \