Skip to content

Commit

Permalink
fix wscript to use new pkg-config metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaehashi committed Feb 6, 2013
1 parent 4c56f1c commit c20358c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ def options(opt):
def configure(conf):
conf.env.CXXFLAGS += ['-O2', '-Wall', '-g', '-pipe']
conf.load('compiler_cxx')
conf.check_cxx(lib = 'msgpack')
conf.check_cxx(lib = 'jubatus_mpio')
conf.check_cxx(lib = 'jubatus_msgpack-rpc')
conf.check_cfg(package = 'jubatus-client', args = '--cflags --libs')

def build(bld):
bld.program(
source = 'client.cpp',
target = 'client',
use = ['MSGPACK', 'JUBATUS_MPIO', 'JUBATUS_MSGPACK-RPC'],
use = ['JUBATUS-CLIENT'],
)

0 comments on commit c20358c

Please sign in to comment.