Mesa (master): scons: Build libOpenVG.dll & libEGL.dll

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Jan 13 11:54:51 UTC 2011


Module: Mesa
Branch: master
Commit: 63528c4510e4891a13c255871b1dd5c2dafdb02c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63528c4510e4891a13c255871b1dd5c2dafdb02c

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jan 13 11:54:43 2011 +0000

scons: Build libOpenVG.dll & libEGL.dll

But without creating liblibOpenVG or liblibEGL elsewhere.

Thanks Chia-I Wu for pointing this out.

---

 src/gallium/targets/egl-static/SConscript |    5 ++++-
 src/mapi/vgapi/SConscript                 |    3 +++
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/gallium/targets/egl-static/SConscript b/src/gallium/targets/egl-static/SConscript
index 028fc09..3eba9e0 100644
--- a/src/gallium/targets/egl-static/SConscript
+++ b/src/gallium/targets/egl-static/SConscript
@@ -111,8 +111,11 @@ if env['drm']:
         svga,
     ])
 
+# libEGL.dll
+env['SHLIBPREFIX'] = 'lib'
+
 egl_gallium = env.SharedLibrary(
-    target ='libEGL',
+    target ='EGL',
     source = sources,
 )
 
diff --git a/src/mapi/vgapi/SConscript b/src/mapi/vgapi/SConscript
index c0c6c6c..e970e4e 100644
--- a/src/mapi/vgapi/SConscript
+++ b/src/mapi/vgapi/SConscript
@@ -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,




More information about the mesa-commit mailing list