scons: Do not use ld options start-group and end-group on Darwin.
Mac OS X ld does not support these options.
This commit is contained in:
@@ -476,7 +476,10 @@ def generate(env):
|
||||
'-Wl,-Bsymbolic',
|
||||
]
|
||||
# Handle circular dependencies in the libraries
|
||||
env['_LIBFLAGS'] = '-Wl,--start-group ' + env['_LIBFLAGS'] + ' -Wl,--end-group'
|
||||
if env['platform'] in ('darwin'):
|
||||
pass
|
||||
else:
|
||||
env['_LIBFLAGS'] = '-Wl,--start-group ' + env['_LIBFLAGS'] + ' -Wl,--end-group'
|
||||
if msvc:
|
||||
if not env['debug']:
|
||||
# enable Link-time Code Generation
|
||||
|
Reference in New Issue
Block a user