Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49168

SYSLIBDEPS needs a PRIVATE variant

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Dev Platform 2020-08-10, Dev Platform 2020-08-24, Dev Platform 2020-09-07

      For LIBDEPS, we offer both a public and a private mode. For SYSLIBDEPS we only offer a public mode. As a result, all SYSLIBDEPS are public.

      However, in many cases (perhaps much more often than for LIBDEPS), it is the case that SYSLIBDEPS should be private: a great example is liblzma which is needed for libunwind, but ends up on the link line for almost everything.

      Additionally, there are some uses of LIBS in the codebase. These are used mainly at a global level, but do not participate in transitivity at all. We should eliminate all uses of LIBS and use SYSLIBDEPS[_PRIVATE] exclusively to describe system library dependencies.

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: