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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Build
    • Linux/Unix
    • Server Development Platform

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: