Switch to git-submoduled libusdt.

This commit is contained in:
Chris Andrews
2012-04-29 17:58:56 +01:00
parent 6b6a971a0e
commit 298043949b
4 changed files with 9 additions and 5 deletions
+3
View File
@@ -0,0 +1,3 @@
[submodule "libusdt"]
path = libusdt
url = https://github.com/chrisa/libusdt
Submodule
+1
Submodule libusdt added at 333b1fef09
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name" : "dtrace-provider",
"version" : "0.0.3",
"version" : "0.1.1",
"description" : "Native DTrace providers for node.js applications",
"keywords" : ["dtrace"],
"homepage" : "https://github.com/chrisa/node-dtrace-provider#readme",
+4 -4
View File
@@ -4,7 +4,7 @@ from os.path import exists, islink
srcdir = '.'
blddir = 'build'
VERSION = '0.0.2'
VERSION = '0.1.1'
def set_options(ctx):
ctx.tool_options('compiler_cxx')
@@ -18,16 +18,16 @@ def configure(ctx):
def build(ctx):
if sys.platform.startswith("sunos") or sys.platform.startswith("darwin"):
ctx.new_task_gen(
rule = "cd ../../libusdt && make && cd -",
rule = "cd ../libusdt && make && cd -",
shell = True
)
t = ctx.new_task_gen('cxx', 'shlib', 'node_addon')
t.target = 'DTraceProviderBindings'
t.source = ['dtrace_provider.cc', 'dtrace_probe.cc']
t.includes = ['../libusdt']
t.includes = ['libusdt']
t.staticlib = 'usdt'
t.libpath = '../../libusdt'
t.libpath = '../libusdt'
def shutdown():
t = 'DTraceProviderBindings.node'