summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-01-13 11:54:43 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-01-13 11:54:43 +0000
commit63528c4510e4891a13c255871b1dd5c2dafdb02c (patch)
treecc62a880c34cdb7c051676ebd02159ccd3ebcb37 /src
parent80f18876f689e250e286f8821e37389b414776bd (diff)
scons: Build libOpenVG.dll & libEGL.dll
But without creating liblibOpenVG or liblibEGL elsewhere. Thanks Chia-I Wu for pointing this out.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/targets/egl-static/SConscript5
-rw-r--r--src/mapi/vgapi/SConscript3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/targets/egl-static/SConscript b/src/gallium/targets/egl-static/SConscript
index 028fc095c0..3eba9e07f2 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 c0c6c6c033..e970e4eff8 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,