VirtualBox

Changeset 59165 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 16, 2015 7:31:17 PM (9 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: revert r104007, r104003 and r104001: make the VBoxOGL.so replacement OpenGL library executable. We no longer need this now that VBoxClient --check3d does the same test for whether 3D is supported in the virtual machine.

Location:
trunk/src/VBox/Additions/common/crOpenGL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/Makefile.kmk

    r59118 r59165  
    227227        dl
    228228  endif
    229  else
    230   VBoxOGL_SONAME.linux = libGL.so.1
    231   VBoxOGL_LDFLAGS.linux += -Wl,-e,LibMain
    232229 endif
    233230endif
  • trunk/src/VBox/Additions/common/crOpenGL/load.c

    r58618 r59165  
    11261126/* Sigh -- we can't do initialization at load time, since Windows forbids
    11271127 * the loading of other libraries from DLLMain. */
    1128 
    1129 /** @note On Linux we make our shared library executable as a quick way of
    1130  * testing whether a particular guest supports 3D in the current configuration.
    1131  * If 3D is not enabled, the constructor will exit with status 1.  If the
    1132  * library cannot be loaded at all (e.g. missing dependencies) executing it will
    1133  * also fail. */
    1134 #ifdef RT_OS_LINUX
    1135 # ifdef RT_ARCH_AMD64
    1136 const char pszInterpreter[] __attribute__((section(".interp"))) = "/lib64/ld-linux-x86-64.so.2";
    1137 # else
    1138 const char pszInterpreter[] __attribute__((section(".interp"))) = "/lib/ld-linux.so.2";
    1139 # endif
    1140 
    1141 extern void LibMain()
    1142 {
    1143    if (!stubInit())
    1144        _exit(1);
    1145    _exit(0);
    1146 }
    1147 #endif
    11481128
    11491129#ifdef WINDOWS
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette