[SERVER-39581] Avoid unnecessary link dependencies in stitch server lib Created: 14/Feb/19 Updated: 29/Oct/23 Resolved: 20/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.9 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Michael O'Brien | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Dev Tools 2019-02-25 |
| Participants: |
| Description |
|
cc acm per our convo yesterday: The stitch server lib seems to have link dependencies on libcrypto/libssl libcurl, and for the enterprise target (though it's not really needed at this stage) libsnmp as well. Eliminating these dependencies would make deploying to our environment a bit easier.
|
| Comments |
| Comment by Githook User [ 20/Feb/19 ] | |||
|
Author: {'name': 'Andrew Morrow', 'username': 'acmorrow', 'email': 'acm@mongodb.com'}Message: | |||
| Comment by Andrew Morrow (Inactive) [ 14/Feb/19 ] | |||
|
You know, I think this might be a very easy fix. The mobile build adds the following flags to its compile:
I think if you added those, you may find that those dependencies disappear. Also, do you actually need any features from enterprise? You are getting them because you are building from a tree that has enterprise enabled by virtue of it getting cloned into the tree by the higher level build system, but if you don't actually need it, you could disable all of it by adding --modules= (note no argument after=) to the compile line. |