Changeset 58618 in vbox
- Timestamp:
- Nov 9, 2015 2:25:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/load.c
r58614 r58618 1126 1126 /* Sigh -- we can't do initialization at load time, since Windows forbids 1127 1127 * 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 1128 1148 1129 1149 #ifdef WINDOWS
Note:
See TracChangeset
for help on using the changeset viewer.