mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
scons: Handle Circular dependencies in the libraries.
This commit is contained in:
parent
bf57eda0ec
commit
7b39194e2d
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue