Stream: platform development

Topic: Changing names when compiling to shared lib


view this post on Zulip Isaac Van Doren (Feb 10 2024 at 23:50):

When I run roc build --lib --output libapp.so on macos it outputs libapp.dylib and on linux it outputs libapp.so.0.1. Why does it automatically change the output instead of following the flag?

view this post on Zulip Brendan Hansknecht (Feb 11 2024 at 00:25):

Cause I think we haven't wired through output to shared library building.

view this post on Zulip Brendan Hansknecht (Feb 11 2024 at 00:26):

So it just always uses the default setting/name

view this post on Zulip Isaac Van Doren (Feb 11 2024 at 00:39):

Okay cool, I’ll take a look at adding that when I get a chance


Last updated: Jul 06 2025 at 12:14 UTC