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