mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
Use merged linenoise on windows SERVER-1763
This commit is contained in:
parent
00c383f6c0
commit
ae79f44dd2
@ -1179,10 +1179,7 @@ elif not onlyServer:
|
||||
|
||||
coreShellFiles = [ "shell/dbshell.cpp" , "shell/shell_utils.cpp" , "shell/mongo-server.cpp" ]
|
||||
|
||||
if not windows:
|
||||
coreShellFiles.append( "third_party/linenoise/linenoise.cpp" )
|
||||
else:
|
||||
coreShellFiles.append( "third_party/linenoise/linenoise_win32.cpp" )
|
||||
coreShellFiles.append( "third_party/linenoise/linenoise.cpp" )
|
||||
|
||||
shellEnv.Prepend( LIBPATH=[ "." ] )
|
||||
|
||||
|
@ -50,7 +50,7 @@ bool autoKillOp = false;
|
||||
jmp_buf jbuf;
|
||||
#endif
|
||||
|
||||
#if defined(USE_LINENOISE) && !defined(WIN32) && !defined(_WIN32)
|
||||
#if defined(USE_LINENOISE)
|
||||
#define USE_TABCOMPLETION
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user