As the title states, libsdl2, when compiled for windows with mingw-w64, requires --enable-loadso to be passed to ./configure in order to make use of opengl. Bug is being filed to satisfy GLEP66.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc39765d64adba9bc7ad8d0764aa93f238f3480b commit cc39765d64adba9bc7ad8d0764aa93f238f3480b Author: Marty E. Plummer <hanetzer@protonmail.com> AuthorDate: 2017-05-16 20:25:42 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2017-11-04 23:50:43 +0000 media-libs/libsdl2: --enable-loadso on windows For opengl to work on windows (at least via a mingw-w64 cross-compile) --enable-loadso is required, as they dlopen opengl32.dll to get a handle. Bug: https://bugs.gentoo.org/636542 Signed-off-by: Marty E. Plummer <hanetzer@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/4649 media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild | 2 +- media-libs/libsdl2/libsdl2-2.0.6.ebuild | 2 +- media-libs/libsdl2/libsdl2-2.0.7.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)}