Static compilation?

37 views
Skip to first unread message

Felipe Gasper

unread,
Jun 16, 2022, 11:35:47 AM6/16/22
to lib...@googlegroups.com
Hello,

Does libnfs’s build system allow for static compilation? I’d like to embed libnfs into another library rather than doing dynamic linking.

Thank you!

cheers,
-Felipe Gasper

Felipe Gasper

unread,
Jun 29, 2022, 9:42:14 AM6/29/22
to lib...@googlegroups.com


> On Jun 16, 2022, at 11:35, Felipe Gasper <fel...@felipegasper.com> wrote:
>
> Hello,
>
> Does libnfs’s build system allow for static compilation? I’d like to embed libnfs into another library rather than doing dynamic linking.
>
> Thank you!

For posterity: just disable BUILD_SHARED_LIBS in cmake.

-FG
Reply all
Reply to author
Forward
0 new messages