Changeset 59165 in vbox for trunk/src/VBox
- Timestamp:
- Dec 16, 2015 7:31:17 PM (9 years ago)
- Location:
- trunk/src/VBox/Additions/common/crOpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/Makefile.kmk
r59118 r59165 227 227 dl 228 228 endif 229 else230 VBoxOGL_SONAME.linux = libGL.so.1231 VBoxOGL_LDFLAGS.linux += -Wl,-e,LibMain232 229 endif 233 230 endif -
trunk/src/VBox/Additions/common/crOpenGL/load.c
r58618 r59165 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 of1130 * 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 the1132 * library cannot be loaded at all (e.g. missing dependencies) executing it will1133 * also fail. */1134 #ifdef RT_OS_LINUX1135 # ifdef RT_ARCH_AMD641136 const char pszInterpreter[] __attribute__((section(".interp"))) = "/lib64/ld-linux-x86-64.so.2";1137 # else1138 const char pszInterpreter[] __attribute__((section(".interp"))) = "/lib/ld-linux.so.2";1139 # endif1140 1141 extern void LibMain()1142 {1143 if (!stubInit())1144 _exit(1);1145 _exit(0);1146 }1147 #endif1148 1128 1149 1129 #ifdef WINDOWS
Note:
See TracChangeset
for help on using the changeset viewer.