scons: Handle Circular dependencies in the libraries.
This commit is contained in:
parent
bf57eda0ec
commit
7b39194e2d
|
@ -462,6 +462,8 @@ def generate(env):
|
|||
shlinkflags += [
|
||||
'-Wl,-Bsymbolic',
|
||||
]
|
||||
# Handle circular dependencies in the libraries
|
||||
env['_LIBFLAGS'] = '-Wl,--start-group ' + env['_LIBFLAGS'] + ' -Wl,--end-group'
|
||||
if platform == 'windows' and msvc:
|
||||
# See also:
|
||||
# - http://msdn2.microsoft.com/en-us/library/y0zzbyt4.aspx
|
||||
|
|
Loading…
Reference in New Issue