projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de76101
)
scons: Link against librt
author
José Fonseca
<jfonseca@vmware.com>
Tue, 4 Dec 2012 19:36:52 +0000
(19:36 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 4 Dec 2012 19:37:21 +0000
(19:37 +0000)
Fixes missing clock_gettime symbol.
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index e9496a8d5d848bb2c27ae0614cc45babde6ece31..66ccaea7359d4734756569774f60b2544138f7cc 100755
(executable)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-500,6
+500,8
@@
def generate(env):
libs = []
if env['platform'] in ('darwin', 'freebsd', 'linux', 'posix', 'sunos'):
libs += ['m', 'pthread', 'dl']
+ if env['platform'] in 'linux':
+ libs += ['rt']
env.Append(LIBS = libs)
# OpenMP