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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Build
    • Labels:
    • Environment:
      Linux/Unix

      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

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated: