Skip to content

Commit

Permalink
build: embed the mdb_v8.so into the binary
Browse files Browse the repository at this point in the history
This builds and includes the mdb_v8.so in the binary of node so mdb
can be sure to always use the latest version
  • Loading branch information
tjfontaine committed Aug 5, 2013
1 parent f4b1e00 commit e851fef
Show file tree
Hide file tree
Showing 8 changed files with 5,132 additions and 0 deletions.
7 changes: 7 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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']

Expand Down
Loading

0 comments on commit e851fef

Please sign in to comment.