# OpenVG
env.Append(CPPDEFINES = ['FEATURE_VG=1'])
+ env.Prepend(LIBPATH = [openvg.dir])
env.Prepend(LIBS = ['OpenVG', st_vega])
source = sources,
)
-env.Depends(egl_gallium, [vgapi])
+env.Depends(egl_gallium, [openvg])
egl_gallium = env.InstallSharedLibrary(egl_gallium, version=(1, 4, 0))
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'])