projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6baa2c8
)
scons: Do not use linker option '-Bsymbolic' on Mac OS X.
author
Vinson Lee
<vlee@vmware.com>
Thu, 28 Jan 2010 09:32:15 +0000
(
01:32
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 28 Jan 2010 09:34:40 +0000
(
01:34
-0800)
ld on Mac OS X does not recognize the option '-Bsymbolic'.
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index 91a2fbbca699cb341b253771033253bfb06402bd..467b67fad7c3dfa9f9dda26512f464e26f0b18be 100644
(file)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-393,9
+393,10
@@
def generate(env):
linkflags += ['-m32']
if env['machine'] == 'x86_64':
linkflags += ['-m64']
- shlinkflags += [
- '-Wl,-Bsymbolic',
- ]
+ if env['platform'] not in ('darwin'):
+ shlinkflags += [
+ '-Wl,-Bsymbolic',
+ ]
# Handle circular dependencies in the libraries
if env['platform'] in ('darwin'):
pass