From b07ad1d6bd08bfe3ab84b660587523d5711ea21f Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 12 Jan 2011 15:06:57 +0000 Subject: scons: Fix build on systems without libOpenVG.so --- src/gallium/targets/egl-static/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/targets/egl-static/SConscript') 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)) -- cgit v1.2.3