scons: Build libOpenVG.dll & libEGL.dll
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 13 Jan 2011 11:54:43 +0000 (11:54 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 13 Jan 2011 11:54:43 +0000 (11:54 +0000)
But without creating liblibOpenVG or liblibEGL elsewhere.

Thanks Chia-I Wu for pointing this out.

src/gallium/targets/egl-static/SConscript
src/mapi/vgapi/SConscript

index 028fc095c04b329d900d6633450b3873da932d61..3eba9e07f20bb8016530d0b953b5bcbc297381c1 100644 (file)
@@ -111,8 +111,11 @@ if env['drm']:
         svga,
     ])
 
+# libEGL.dll
+env['SHLIBPREFIX'] = 'lib'
+
 egl_gallium = env.SharedLibrary(
-    target ='libEGL',
+    target ='EGL',
     source = sources,
 )
 
index c0c6c6c033a6e751b81d6d48cc6c3cc974115979..e970e4eff84970e748e4256060586192f782f019 100644 (file)
@@ -44,6 +44,9 @@ if env['platform'] != 'winddk':
 
        env.Depends(vgapi_objects, vgapi_header)
 
+       # libOpenVG.dll
+       env['SHLIBPREFIX'] = 'lib'
+
        openvg = env.SharedLibrary(
                target = 'OpenVG',
                source = vgapi_objects,