diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-08-13 16:32:51 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-08-13 16:32:51 +0100 |
commit | 7b39194e2dbad6191b86c232d305dd910000753c (patch) | |
tree | 803337c8efe497784b31add8411db2b314fcf4f9 | |
parent | bf57eda0ecf1996bc2d188ef0b51a8f3ec993412 (diff) |
scons: Handle Circular dependencies in the libraries.
-rw-r--r-- | scons/gallium.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index e9e799dc78..bf6172b4d7 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -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 |