python: Remove broken link hack.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 10 Mar 2010 12:05:10 +0000 (12:05 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 10 Mar 2010 12:05:10 +0000 (12:05 +0000)
src/gallium/state_trackers/python/SConscript
src/gallium/state_trackers/python/st_hardpipe_winsys.c

index 2b44c1373730dad345a006ed7fa6b2d37c83a3e5..781f54bf2b9036f09ab95554ee28c8fe3f144c0b 100644 (file)
@@ -24,6 +24,7 @@ if 'python' in env['statetrackers']:
             'ws2_32',
         ])
     else:
+        env.Append(CPPDEFINES = ['GCC_HASCLASSVISIBILITY'])
         env.Append(LIBS = [
                'GL',
             'X11',
index 0bf7c51613ce797672ba82a2098f13ddfecff240..b141177b79311dd0492b539560b5774085e8687f 100644 (file)
@@ -54,11 +54,6 @@ static PFNGETGALLIUMSCREENMESAPROC pfnGetGalliumScreenMESA = NULL;
 static PFNCREATEGALLIUMCONTEXTMESAPROC pfnCreateGalliumContextMESA = NULL;
 
 
-/* XXX: Force init_gallium symbol to be linked */
-extern void init_gallium(void);
-void (*force_init_gallium_linkage)(void) = &init_gallium;
-
-
 #ifdef PIPE_OS_WINDOWS
 
 static INLINE boolean