From: José Fonseca Date: Thu, 13 Aug 2009 15:32:51 +0000 (+0100) Subject: scons: Handle Circular dependencies in the libraries. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b39194e2dbad6191b86c232d305dd910000753c;p=mesa.git scons: Handle Circular dependencies in the libraries. --- 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