Last active
March 31, 2025 15:53
-
-
Save Techcable/ec96ab7323dff66ca50a6d1a333977ce to your computer and use it in GitHub Desktop.
Build chawan browser on macOS (https://sr.ht/~bptato/chawan/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env fish | |
set --local openssl_prefix $(brew --prefix openssl) | |
set --local libssh_prefix $(brew --prefix libssh2) | |
set -gx CFLAGS "-I$openssl_prefix/include -I$libssh_prefix/include -lssl -lssh2" | |
set -gx LDFLAGS "-L$openssl_prefix/lib -L$libssh_prefix/lib -lssl -lssh2" | |
if not test -f ./nim.cfg; or not test -f ./README.md | |
echo "ERROR: Should be in chawan root directory" >&2; | |
exit 1; | |
end | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment