summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-03-23 12:43:09 -0400
committerRamon Fernandez <ramon.fernandez@mongodb.com>2015-04-24 20:04:30 -0400
commit867aeb4e45bcc6a37debeb4213598e810bd91bb2 (patch)
tree864d167ca1b38e62be869c10ada463bb7eabfc51 /SConstruct
parent0031d937741fa474086fe8924c407fae2dd2f066 (diff)
downloadmongo-867aeb4e45bcc6a37debeb4213598e810bd91bb2.tar.gz
SERVER-17694 Add support to set the SCons RPATH from Variables
(cherry picked from commit bd6d3e7691ec0f3bee7520f36673a2f30b9f63ac) Conflicts: SConstruct
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index a4678957a13..484a4d75da6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -425,6 +425,10 @@ env_vars.Add('LINKFLAGS',
help='Sets flags for the linker',
converter=variable_shlex_converter)
+env_vars.Add('RPATH',
+ help='Set the RPATH for dynamic libraries and executables',
+ converter=variable_shlex_converter)
+
env_vars.Add('SHCCFLAGS',
help='Sets flags for the C and C++ compiler when building shared libraries',
converter=variable_shlex_converter)