summaryrefslogtreecommitdiffstats
path: root/src/mapi/vgapi/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-01-09 23:37:32 +0800
committerChia-I Wu <[email protected]>2011-01-12 17:40:01 +0800
commita8b6b6555c7d6a02a3d095c72ebbdc218bc45cd3 (patch)
treed0d21b537682efd23b3d107a639bb86eaf825782 /src/mapi/vgapi/SConscript
parent49ed5bb28d501cd6751bd59dc25a60a4293bcd75 (diff)
scons: Updates for targets/egl-static.
Update SConscripts to re-enable or add support for EGL on windows and x11 platforms respectively. targets/egl-gdi is replaced by targets/egl-static, where "-static" means pipe drivers and state trackers are linked to statically by egl_gallium, and egl_gallium is a built-in driver of libEGL. There is no more egl_gallium.dll on Windows.
Diffstat (limited to 'src/mapi/vgapi/SConscript')
-rw-r--r--src/mapi/vgapi/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mapi/vgapi/SConscript b/src/mapi/vgapi/SConscript
index 42d86b69eef..8d671597859 100644
--- a/src/mapi/vgapi/SConscript
+++ b/src/mapi/vgapi/SConscript
@@ -51,6 +51,9 @@ if env['platform'] != 'winddk':
env.InstallSharedLibrary(openvg, version=(1, 0, 0))
- vgapi = [env.FindIxes(openvg, 'LIBPREFIX', 'LIBSUFFIX')]
+ if env['platform'] == 'windows':
+ vgapi = env.FindIxes(openvg, 'LIBPREFIX', 'LIBSUFFIX')
+ else:
+ vgapi = env.FindIxes(openvg, 'SHLIBPREFIX', 'SHLIBSUFFIX')
Export(['vgapi'])