Skip to content
Browse files

closes issue #15

  • Loading branch information...
1 parent a8a06e4 commit 1da0cd551fbb1602134520e63564d4892d86d16a @c4milo c4milo committed Jul 8, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 wscript
View
7 wscript
@@ -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.
Something went wrong with that request. Please try again.