OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scons: Add X11 include path if X11 is available.
[android-x86/external-mesa.git]
/
scons
/
gallium.py
diff --git
a/scons/gallium.py
b/scons/gallium.py
index
8e2090b
..
5195508
100755
(executable)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-624,6
+624,9
@@
def generate(env):
env.PkgCheckModules('DRM', ['libdrm >= 2.4.38'])
env.PkgCheckModules('UDEV', ['libudev >= 151'])
+ if env['x11']:
+ env.Append(CPPPATH = env['X11_CPPPATH'])
+
env['dri'] = env['x11'] and env['drm']
# for debugging