Skip to content

tdjson static library #3283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Linklsk opened this issue Mar 24, 2025 · 3 comments
Open

tdjson static library #3283

Linklsk opened this issue Mar 24, 2025 · 3 comments

Comments

@Linklsk
Copy link

Linklsk commented Mar 24, 2025

Hello everyone!
How i can build a static library tdjson?

@levlam
Copy link
Contributor

levlam commented Mar 24, 2025

It is always built by default. You can find tdjson_static among the built libriraies.

@Linklsk
Copy link
Author

Linklsk commented Apr 18, 2025

It is always built by default. You can find tdjson_static among the built libriraies.

I mean full static, with zlib, libssl etc, can I build such a library?

@levlam
Copy link
Contributor

levlam commented Apr 18, 2025

Yes, you can link zlib and OpenSSL statically. Build dependencies configuration is done via CMake. It will choose the static libraries if dynamic libraries aren't present in the system, or static libraries manually specified during CMake configuration. You will also need to statically link C++ standard library and may want to statically link C standard library other than libc.

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

No branches or pull requests

2 participants