summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDave Pacheco <dap@joyent.com>2013-03-28 11:36:00 -0700
committerisaacs <i@izs.me>2013-04-03 09:52:56 -0700
commitec69fcf4256dfe6b8c90e96e71c2dff570fd36c3 (patch)
tree8d7fb88b0260dbedab597786adbd0266932c3139 /configure
parent38106da7cddee38453a0c2393bd19e2d2bd6228b (diff)
downloadnode-ec69fcf4256dfe6b8c90e96e71c2dff570fd36c3.tar.gz
build: allow building with dtrace on osx
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a5a18e33d..09f3c4097 100755
--- a/configure
+++ b/configure
@@ -468,7 +468,7 @@ def configure_node(o):
# By default, enable DTrace on SunOS systems. Don't allow it on other
# systems, since it won't work. (The MacOS build process is different than
# SunOS, and we haven't implemented it.)
- if sys.platform.startswith('sunos'):
+ if sys.platform.startswith('sunos') or sys.platform.startswith('darwin'):
o['variables']['node_use_dtrace'] = b(not options.without_dtrace)
elif sys.platform.startswith('linux'):
o['variables']['node_use_dtrace'] = 'false'