[Pkg-javascript-commits] [node-expat] 159/371: Fix build issue on FreeBSD
Jonas Smedegaard
dr at jones.dk
Sun Feb 28 09:59:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-expat.
commit 819535e8f0d8d44d09633901be649a0d5cbd0f62
Author: Dhruv <dhruvbird at gmail.com>
Date: Fri Jun 15 11:02:21 2012 -0700
Fix build issue on FreeBSD
---
wscript | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/wscript b/wscript
index 66922b9..eb23681 100644
--- a/wscript
+++ b/wscript
@@ -10,8 +10,9 @@ def configure(conf):
conf.check_tool('node_addon')
conf.check( header_name='expat.h',
mandatory = True,
- errmsg = "not installed")
-
+ includes = [ '/usr/include', '/usr/local/include' ],
+ errmsg = "not installed")
+
conf.env['LIB_EXPAT'] = ['expat']
@@ -19,5 +20,7 @@ def build(bld):
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
obj.target = 'node-expat'
obj.source = 'node-expat.cc'
+ obj.includes = [ '/usr/include', '/usr/local/include' ]
+ obj.libpath = [ '/usr/lib', '/usr/lib64', '/usr/local/lib', '/usr/local/lib64' ]
obj.lib = 'expat'
obj.uselib = 'EXPAT'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git
More information about the Pkg-javascript-commits
mailing list