File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ def gyp_main(args):
342
342
# deprecated.
343
343
parser .add_argument ('--no-duplicate-basename-check' ,
344
344
dest = 'duplicate_basename_check' , action = 'store_false' ,
345
- default = True , regenerate = False ,
345
+ default = False , regenerate = False ,
346
346
help = "don't check for duplicate basenames" )
347
347
parser .add_argument ('--no-parallel' , action = 'store_true' , default = False ,
348
348
help = 'Disable multiprocessing' )
Original file line number Diff line number Diff line change @@ -673,15 +673,15 @@ def _ValidateSourcesForOSX(spec, all_sources):
673
673
basename = os .path .basename (name ) # Don't include extension.
674
674
basenames .setdefault (basename , []).append (source )
675
675
676
- error = ''
677
- for basename , files in basenames .items ():
678
- if len (files ) > 1 :
679
- error += ' %s: %s\n ' % (basename , ' ' .join (files ))
680
-
681
- if error :
682
- print (('static library %s has several files with the same basename:\n ' % spec ['target_name' ])
683
- + error + 'libtool on OS X will generate' + ' warnings for them.' )
684
- raise GypError ('Duplicate basenames in sources section, see list above' )
676
+ # error = ''
677
+ # for basename, files in basenames.items():
678
+ # if len(files) > 1:
679
+ # error += ' %s: %s\n' % (basename, ' '.join(files))
680
+
681
+ # if error:
682
+ # print(('static library %s has several files with the same basename:\n' % spec['target_name'])
683
+ # + error + 'libtool on OS X will generate' + ' warnings for them.')
684
+ # raise GypError('Duplicate basenames in sources section, see list above')
685
685
686
686
687
687
# Map from qualified target to path to output.
You can’t perform that action at this time.
0 commit comments