summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-01-12 15:06:57 +0000
committerJosé Fonseca <[email protected]>2011-01-12 15:06:57 +0000
commitb07ad1d6bd08bfe3ab84b660587523d5711ea21f (patch)
tree0c9161d04e46313d38b54fc8a9d04269cf4bfaa9 /src/gallium/targets
parent1e4f412242391000eea3fd28452865c3d27f987d (diff)
scons: Fix build on systems without libOpenVG.so
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/egl-static/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/targets/egl-static/SConscript b/src/gallium/targets/egl-static/SConscript
index 1fa40806319..4bb063b8215 100644
--- a/src/gallium/targets/egl-static/SConscript
+++ b/src/gallium/targets/egl-static/SConscript
@@ -74,6 +74,7 @@ else:
# OpenVG
env.Append(CPPDEFINES = ['FEATURE_VG=1'])
+ env.Prepend(LIBPATH = [openvg.dir])
env.Prepend(LIBS = ['OpenVG', st_vega])
@@ -115,7 +116,7 @@ egl_gallium = env.SharedLibrary(
source = sources,
)
-env.Depends(egl_gallium, [vgapi])
+env.Depends(egl_gallium, [openvg])
egl_gallium = env.InstallSharedLibrary(egl_gallium, version=(1, 4, 0))