summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-01-13 11:54:43 +0000
committerJosé Fonseca <[email protected]>2011-01-13 11:54:43 +0000
commit63528c4510e4891a13c255871b1dd5c2dafdb02c (patch)
treecc62a880c34cdb7c051676ebd02159ccd3ebcb37
parent80f18876f689e250e286f8821e37389b414776bd (diff)
scons: Build libOpenVG.dll & libEGL.dll
But without creating liblibOpenVG or liblibEGL elsewhere. Thanks Chia-I Wu for pointing this out.
-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 028fc095c04..3eba9e07f20 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 c0c6c6c033a..e970e4eff84 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,