0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

fix sm build for darwin SERVER-3659

This commit is contained in:
Eliot Horowitz 2011-08-21 01:47:27 -04:00
parent d40cad9feb
commit f97d900e5a
2 changed files with 1 additions and 1 deletions

Binary file not shown.

2
third_party/sm.py vendored
View File

@ -57,7 +57,7 @@ def configure( env , fileLists , options ):
myenv.Append( CPPDEFINES=[ "JSFILE" , "EXPORT_JS_API" , "JS_C_STRINGS_ARE_UTF8" ] )
myenv["CPPFLAGS"] = myenv["CPPFLAGS"].replace( "-Werror" , "" )
if os.sys.platform.startswith( "linux" ):
if os.sys.platform.startswith( "linux" ) or os.sys.platform == "darwin":
myenv["CPPDEFINES"] += [ "HAVE_VA_COPY" , "VA_COPY=va_copy" ]
fileLists["scriptingFiles"] += [ myenv.Object(root + "/" + f) for f in basicFiles ]