From 7b39194e2dbad6191b86c232d305dd910000753c Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 13 Aug 2009 16:32:51 +0100 Subject: scons: Handle Circular dependencies in the libraries. --- scons/gallium.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scons') 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 -- cgit v1.2.3