Skip to content

Commit 8b81f98

Browse files
cgalibernJulien Gilli
authored and
Julien Gilli
committed
configure: add --without-mdb flag
Add a configuration flag that prevents mdb_v8.so from being built. The default behavior is still the same and mdb_v8.so is built by default on Solaris based platforms such as SmartOS. Using --without-mdb fixes build issues on Solaris based platforms where libproc.h is not available or not compatible with the one shipped by SmartOS. Fixes #6439. Reviewed-By: Julien Gilli <[email protected]> PR-URL: nodejs/node-v0.x-archive#25707
1 parent 78d256e commit 8b81f98

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

configure

+6-1
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,11 @@ parser.add_option('--without-etw',
282282
dest='without_etw',
283283
help='build without ETW')
284284

285+
parser.add_option('--without-mdb',
286+
action='store_true',
287+
dest='without_mdb',
288+
help='build without mdb')
289+
285290
parser.add_option('--without-npm',
286291
action='store_true',
287292
dest='without_npm',
@@ -554,7 +559,7 @@ def configure_node(o):
554559
# if we're on illumos based systems wrap the helper library into the
555560
# executable
556561
if flavor == 'solaris':
557-
o['variables']['node_use_mdb'] = 'true'
562+
o['variables']['node_use_mdb'] = b(not options.without_mdb)
558563
else:
559564
o['variables']['node_use_mdb'] = 'false'
560565

0 commit comments

Comments
 (0)