projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf57eda
)
scons: Handle Circular dependencies in the libraries.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 13 Aug 2009 15:32:51 +0000
(16:32 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 13 Aug 2009 15:32:51 +0000
(16:32 +0100)
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index e9e799dc78d9930ca909571d8f78a0f18dd2d40a..bf6172b4d777d226a0c2f10385b79ea0fc531914 100644
(file)
--- 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