Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit e851fef

Browse files
committed
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
1 parent f4b1e00 commit e851fef

8 files changed

Lines changed: 5132 additions & 0 deletions

File tree

configure

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,13 @@ def configure_node(o):
475475
o['variables']['node_use_dtrace'] = 'false'
476476
o['variables']['node_use_systemtap'] = 'false'
477477

478+
# if we're on illumos based systems wrap the helper library into the
479+
# executable
480+
if flavor == 'solaris':
481+
o['variables']['node_use_mdb'] = 'true'
482+
else:
483+
o['variables']['node_use_mdb'] = 'false'
484+
478485
if options.no_ifaddrs:
479486
o['defines'] += ['SUNOS_NO_IFADDRS']
480487

0 commit comments

Comments
 (0)