From 7b39194e2dbad6191b86c232d305dd910000753c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 13 Aug 2009 16:32:51 +0100 Subject: [PATCH] scons: Handle Circular dependencies in the libraries. --- scons/gallium.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scons/gallium.py b/scons/gallium.py index e9e799dc78d..bf6172b4d77 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 -- 2.30.2