summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2013-07-17 20:46:25 +0000
committerTimothy J Fontaine <tjfontaine@gmail.com>2013-08-05 14:19:29 -0700
commite851fef60f5368927ea0a6b7bfc984ef18e93d6f (patch)
treebcb994939157cc8eadddf841882755697e6f327f /configure
parentf4b1e00071ce8f41acb75842f2df4a845f6ef531 (diff)
downloadnode-new-e851fef60f5368927ea0a6b7bfc984ef18e93d6f.tar.gz
build: embed the mdb_v8.so into the binary
This builds and includes the mdb_v8.so in the binary of node so mdb can be sure to always use the latest version
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index abb9070814..833de8d115 100755
--- a/configure
+++ b/configure
@@ -475,6 +475,13 @@ def configure_node(o):
o['variables']['node_use_dtrace'] = 'false'
o['variables']['node_use_systemtap'] = 'false'
+ # if we're on illumos based systems wrap the helper library into the
+ # executable
+ if flavor == 'solaris':
+ o['variables']['node_use_mdb'] = 'true'
+ else:
+ o['variables']['node_use_mdb'] = 'false'
+
if options.no_ifaddrs:
o['defines'] += ['SUNOS_NO_IFADDRS']