mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
don't use static readline on osx
This commit is contained in:
parent
f0476381d3
commit
e7f10be927
@ -389,7 +389,11 @@ def doConfigure( myenv , needJava=True , needPcre=True , shell=False ):
|
||||
myCheckLib( "pcre" , True )
|
||||
|
||||
if shell:
|
||||
if myCheckLib( "readline" ):
|
||||
haveReadLine = False
|
||||
if darwin:
|
||||
myenv.Append( CPPDEFINES=[ "USE_READLINE" ] )
|
||||
myenv.Append( LIBS=["readline"] )
|
||||
elif myCheckLib( "readline" ):
|
||||
myenv.Append( CPPDEFINES=[ "USE_READLINE" ] )
|
||||
myCheckLib( "tinfo" )
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user