Created
November 7, 2011 11:23
-
-
Save katsyoshi/1344700 to your computer and use it in GitHub Desktop.
jubatus homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** 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