summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-i915
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-06-30 17:36:37 +0100
committerJosé Fonseca <[email protected]>2011-06-30 17:36:37 +0100
commit235225ec935002b4669d14a48c9c20864a5496f8 (patch)
tree5c86cb6b91f65605a6e5d1a4c727a35f96516664 /src/gallium/targets/dri-i915
parent2699fce0d69db5158427c8b6c8194b2eefc5e58b (diff)
scons: Expose pkg-config in a simpler manner.
Diffstat (limited to 'src/gallium/targets/dri-i915')
-rw-r--r--src/gallium/targets/dri-i915/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/dri-i915/SConscript b/src/gallium/targets/dri-i915/SConscript
index ab60013830e..b3bd3dd5826 100644
--- a/src/gallium/targets/dri-i915/SConscript
+++ b/src/gallium/targets/dri-i915/SConscript
@@ -2,7 +2,7 @@ Import('*')
env = drienv.Clone()
-env.ParseConfig('pkg-config --cflags --libs libdrm_intel')
+env.PkgUseModules('DRM_INTEL')
env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE', 'GALLIUM_GALAHAD'])
@@ -26,4 +26,4 @@ module = env.LoadableModule(
SHLIBPREFIX = '',
)
-env.Alias('dri-i915', module) \ No newline at end of file
+env.Alias('dri-i915', module)