mirror-ghostty/.github
Mitchell Hashimoto 2afadfc104
build: fix Windows cmake example failures
The cmake examples were failing at runtime on Windows CI for two
reasons.

The static library was installed as "libghostty-vt.a" on all
platforms, but on Windows the DLL import library is also placed in
zig-out/lib/ as "ghostty-vt.lib". The CMakeLists.txt expected the
platform-native name "ghostty-vt.lib" for the static lib, so it
picked up the tiny DLL import lib instead, silently producing a
dynamically-linked executable. That executable then failed at
runtime because the DLL was not on PATH.

Fix this by installing the static library as "ghostty-vt-static.lib"
on Windows to avoid the name collision, and updating CMakeLists.txt
to match. For the shared (DLL) example, add zig-out/bin to PATH in
the CI run step so the DLL can be found at runtime.
2026-03-23 10:32:22 -07:00
..
DISCUSSION_TEMPLATE fix vouch-request discussion template 2026-02-15 07:03:46 -08:00
ISSUE_TEMPLATE remove the issue template 2026-02-15 06:53:31 -08:00
scripts moving stuff around 2026-02-15 06:53:29 -08:00
workflows build: fix Windows cmake example failures 2026-03-23 10:32:22 -07:00
VOUCHED.td Update VOUCHED list (#11775) 2026-03-23 14:41:18 +00:00
dependabot.yml Create dependabot.yml 2022-11-17 10:21:31 -08:00
pinact.yml pin GitHub Actions to specific SHAs 2025-07-06 06:59:50 -07:00