folly
folly copied to clipboard
Folly can not be built on Linux as shared library
I want to compile folly into a shared link library (the default is static) on linux, but I didn't find the relevant instructions, and I don't know if it can be achieved
OS: Ubuntu 20.04 Folly version: v2023.06.26.00
Readme says
Because folly does not provide any ABI compatibility guarantees from commit to commit, we generally recommend building folly as a static library.
Build with this flag:-DFOLLY_SUPPORT_SHARED_LIBRARY=ON Note the binary will be extremely huge.