[MONGOCRYPT-583] cmake/bson: allow shared-only system lib#681
[MONGOCRYPT-583] cmake/bson: allow shared-only system lib#681tharvik wants to merge 4 commits intomongodb:masterfrom
Conversation
|
Sorry for the delay on this one. We have some open tasks to improve the handling of simultaneous/selective static/shared builds in libmongocrypt, libmongoc, and libbson. There's also an unfortunate cyclic dependency-ish between the projects that led to the strange manual import behavior that is currently seen in the code. Unfortunately, the changes as they currently are may wreak havoc on some of our other users, but I do sympathize with the challenges of packaging according to distribution policies, and I will happily help get this sorted. If I could collect more information: What are the constraints that you are trying to satisfy that are not currently met by the current process? |
no worries, I'm late too :)
ho, I missed thoses then, I hope I didn't duplicate an existing one. can you point me to the related ones you've in mind?
when packaging on Gentoo, we try our best to unbundle all dependencies of a given project; in my case, I'm trying to package libmongocrypt which (by default) bundles libbson. we also let users choose if they want a static lib in addition to a dynamic library (via the I though by that simply using
to summarize, I want to be able to
|
see jira's issue for general intro. some comments now
bson_sharedifUSE_SHARED_LIBBSONelsebson_shared; that allows to have {shared,static}-only system library_mongocrypt-libbson_for_{shared,static}links to shared only iffUSE_SHARED_LIBBSONelse to statictest && (system || shared)) but really depend on your use cases