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 028fc09..3eba9e0 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 c0c6c6c..e970e4e 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,