scons: Fix egl-static build due to conflicting symbols.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 15 Apr 2012 10:32:21 +0000 (11:32 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 15 Apr 2012 10:32:21 +0000 (11:32 +0100)
radeonsi and r600 have duplicate symbols, so it's not possible to
statically link both.  Remove the newcomer, radeonsi, until duplicate
symbols are fixed.

src/gallium/targets/egl-static/SConscript

index d831b1107641b985894e005ea61e500af518212f..e657e9f2ff5bf822e6e90fc1946791c7a09afb96 100644 (file)
@@ -98,12 +98,11 @@ if env['HAVE_DRM']:
         ])
 
     if env['HAVE_DRM_RADEON']:
-        env.Append(CPPDEFINES = ['_EGL_PIPE_R300', '_EGL_PIPE_R600', '_EGL_PIPE_RADEONSI'])
+        env.Append(CPPDEFINES = ['_EGL_PIPE_R300', '_EGL_PIPE_R600'])
         env.Prepend(LIBS = [
             radeonwinsys,
             r300,
             r600,
-            radeonsi,
         ])
 
     env.Append(CPPDEFINES = ['_EGL_PIPE_VMWGFX'])