Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for Snow Leopard

  • Loading branch information...
commit 0e75f4b3c83d2a68dd007de9e27fed173c462fc6 1 parent ca6fa7b
@mikejs mikejs authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 SConstruct
View
8 SConstruct
@@ -4,12 +4,18 @@ import os
env = Environment()
env.Append(CPPFLAGS=['-D_FILE_OFFSET_BITS=64'])
+fuse_lib = "fuse"
+
if 'darwin' == os.sys.platform:
env.Append(CPPPATH=['/opt/local/include'],
LIBPATH=['/opt/local/lib'])
+ if os.uname()[2] == '10.0.0':
+ # Snow Leopard uses 64 bit inodes
+ fuse_lib += '_ino64'
+
conf = Configure( env )
-libs = [ "mongoclient" , "fuse" ]
+libs = [ "mongoclient" , fuse_lib ]
boostLibs = [ "thread" , "filesystem" ]
def checkLib( n ):
Please sign in to comment.
Something went wrong with that request. Please try again.