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

Allow scons to pick up paths for shared library and friends from the command line

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
    • Environment:
      Linux/Unix
    • Server Development Platform

      Allow scons to pick up directory paths for where to put binaries, header files, shared and static libraries and man pages from the command line.

      This is basically the same as whats supported by autoconf/automake and friends. Typically you are able to alter the locations where binaries, header files, libraries etc are put when running ./configure making is super simple to package mongodb in different Linux distributions packaging systems.

      Design idea:

      $ scons --includedir=/usr/include --libdir=/usr/lib64 --bindir=/usr/bin --mandir=/usr/share/man
      

      Defaults if these options are left out could be the current layout (backwards compatible) or a layout based in /usr/local like most automake/autoconf based builds.

      The current --prefix can be left as is and its value, if specified, will be prepended to to values of the "new" arguments making it possible to both specify a certain layout and the move that whole layout around (typically this is used when building packages for Linux distributions).

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            jhn Johan Hedin
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: