sciter-sdk / rust-sciter

Rust bindings for Sciter
https://sciter.com
MIT License
804 stars 75 forks source link

How to staticaly link the sciter lib #121

Open albertoVieiraNeto opened 2 years ago

albertoVieiraNeto commented 2 years ago

hi, i have a license for sciter and already generated the sciter.static.lib, how should i proceed to embed the static library to my final executable? can you just give me a direction?

pravic commented 2 years ago

I need to add this to rust-sciter: https://github.com/c-smile/sciter-js-sdk/blob/main/include/sciter-x-api.h#L306-L324

pravic commented 2 years ago

Is it always sciter.static.lib, on all platforms?

albertoVieiraNeto commented 2 years ago

no, on windows by default is ".lib" and linux ".a", on mac i dont know.

Yatekii commented 2 years ago

On macOS it is '.dylib'.