Skip to content

Instantly share code, notes, and snippets.

@katsyoshi
Created November 7, 2011 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katsyoshi/1344700 to your computer and use it in GitHub Desktop.
Save katsyoshi/1344700 to your computer and use it in GitHub Desktop.
jubatus homebrew
*** wscript.org 2011-11-07 20:52:47.000000000 +0900
--- wscript 2011-11-07 20:50:22.000000000 +0900
*************** def options(opt):
*** 19,24 ****
--- 19,25 ----
def configure(conf):
conf.env.CXXFLAGS += ['-O2', '-Wall', '-g', '-pipe']
+ conf.env.LINKFLAGS += ['-flat_namespace']
conf.load('compiler_cxx')
conf.load('unittest_gtest')
*** src/common/wscript.org 2011-11-07 20:04:35.000000000 +0900
--- src/common/wscript 2011-11-07 20:09:00.000000000 +0900
***************
*** 4,10 ****
pass
def configure(conf):
! conf.check_cxx(lib = 'crypt', mandatory = True)
conf.check_cxx(function_name = 'crypt', header_name = 'unistd.h', mandatory = True)
conf.check_cxx(header_name = 'sys/socket.h net/if.h sys/ioctl.h', mandatory = True)
conf.check_cxx(header_name = 'netinet/in.h arpa/inet.h', mandatory = True)
--- 4,10 ----
pass
def configure(conf):
! # conf.check_cxx(lib = 'crypt', mandatory = True)
conf.check_cxx(function_name = 'crypt', header_name = 'unistd.h', mandatory = True)
conf.check_cxx(header_name = 'sys/socket.h net/if.h sys/ioctl.h', mandatory = True)
conf.check_cxx(header_name = 'netinet/in.h arpa/inet.h', mandatory = True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment