Skip to content

Commit

Permalink
closes issue #15
Browse files Browse the repository at this point in the history
  • Loading branch information
c4milo committed Jul 9, 2011
1 parent a8a06e4 commit 1da0cd5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@ def set_options(opt):
def configure(conf):
conf.check_tool('compiler_cxx')
conf.check_tool('node_addon')
conf.check( header_name='expat.h',
mandatory = True,
errmsg = "not installed")

conf.env['LIB_EXPAT'] = ['expat']


def build(bld):
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
obj.target = 'node-expat'
obj.source = 'node-expat.cc'
obj.lib = 'expat'
obj.uselib = 'EXPAT'

0 comments on commit 1da0cd5

Please sign in to comment.