summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 8 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index d6013e13cd6..341124c0543 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1263,6 +1263,7 @@ def installBinary( e , name ):
global allBinaries
if windows:
+ e.Alias( name , name + ".exe" )
name += ".exe"
inst = e.Install( installDir + "/bin" , name )
@@ -1322,6 +1323,13 @@ if distBuild or release:
#final alias
env.Alias( "install" , installDir )
+# aliases
+if windows:
+ env.Alias( "mongoclient" , "mongoclient.lib" )
+else:
+ env.Alias( "mongoclient" , "libmongoclient.a" )
+
+
# ---- CONVENIENCE ----
def tabs( env, target, source ):