summaryrefslogtreecommitdiffstats
path: root/src/mapi/vgapi
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-01-12 15:06:57 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-01-12 15:06:57 +0000
commitb07ad1d6bd08bfe3ab84b660587523d5711ea21f (patch)
tree0c9161d04e46313d38b54fc8a9d04269cf4bfaa9 /src/mapi/vgapi
parent1e4f412242391000eea3fd28452865c3d27f987d (diff)
scons: Fix build on systems without libOpenVG.so
Diffstat (limited to 'src/mapi/vgapi')
-rw-r--r--src/mapi/vgapi/SConscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mapi/vgapi/SConscript b/src/mapi/vgapi/SConscript
index 8d671597859..c0c6c6c033a 100644
--- a/src/mapi/vgapi/SConscript
+++ b/src/mapi/vgapi/SConscript
@@ -45,15 +45,15 @@ if env['platform'] != 'winddk':
env.Depends(vgapi_objects, vgapi_header)
openvg = env.SharedLibrary(
- target = 'libOpenVG',
+ target = 'OpenVG',
source = vgapi_objects,
)
env.InstallSharedLibrary(openvg, version=(1, 0, 0))
if env['platform'] == 'windows':
- vgapi = env.FindIxes(openvg, 'LIBPREFIX', 'LIBSUFFIX')
+ openvg = env.FindIxes(openvg, 'LIBPREFIX', 'LIBSUFFIX')
else:
- vgapi = env.FindIxes(openvg, 'SHLIBPREFIX', 'SHLIBSUFFIX')
+ openvg = env.FindIxes(openvg, 'SHLIBPREFIX', 'SHLIBSUFFIX')
- Export(['vgapi'])
+ Export(['openvg'])