-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MONGOCRYPT-583] cmake/bson: allow shared-only system lib #681
base: master
Are you sure you want to change the base?
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_shared
ifUSE_SHARED_LIBBSON
elsebson_shared
; that allows to have {shared,static}-only system library_mongocrypt-libbson_for_{shared,static}
links to shared only iffUSE_SHARED_LIBBSON
else to statictest && (system || shared)
) but really depend on your use cases