Index: /trunk/src/VBox/Additions/common/crOpenGL/load.c
===================================================================
--- /trunk/src/VBox/Additions/common/crOpenGL/load.c	(revision 58574)
+++ /trunk/src/VBox/Additions/common/crOpenGL/load.c	(revision 58575)
@@ -1107,4 +1107,7 @@
  */
 bool
+#if defined(LINUX) || !defined(VBOXOGL_FAKEDRI)
+__attribute__ ((constructor))
+#endif 
 stubInit(void)
 {
@@ -1124,4 +1127,5 @@
 
 #ifdef LINUX
+/** @todo remove this, but only once we are sure it is not needed. */
 /* GCC crap
  *void (*stub_init_ptr)(void) __attribute__((section(".ctors"))) = __stubInit; */
