mirror of
https://github.com/hanzoai/node-dtrace-provider.git
synced 2026-09-23 23:48:45 +00:00
Switch to git-submoduled libusdt.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[submodule "libusdt"]
|
||||
path = libusdt
|
||||
url = https://github.com/chrisa/libusdt
|
||||
Submodule
+1
Submodule libusdt added at 333b1fef09
+1
-1
@@ -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,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'
|
||||
|
||||
Reference in New Issue
Block a user