Skip to content

add macos and win64 to release static builds#1478

Open
hectorgarcia-cw wants to merge 1 commit intotsl0922:mainfrom
hectorgarcia-cw:main
Open

add macos and win64 to release static builds#1478
hectorgarcia-cw wants to merge 1 commit intotsl0922:mainfrom
hectorgarcia-cw:main

Conversation

@hectorgarcia-cw
Copy link
Copy Markdown

While using Homebrew is pretty handy to install ttyd at MacOS I have found scenarios where an static compiled version without depending on all Homebrew libs and system is needed.
I saw an issue requesting this, where you said PRs where welcome. Here is it.
An example output from this change on the release you can see at https://github.com/hectorgarcia-cw/ttyd/releases/tag/1.7.7 (I of course retag latest commit, so no md5 match with 1.7.7 builds)

cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} \
..
make -j$(sysctl -n hw.ncpu)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not build a static version of binary here.

@tsl0922 tsl0922 force-pushed the main branch 3 times, most recently from ee05f21 to a9b2d19 Compare March 20, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants