Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636542 - media-libs/libsdl2: USE=opengl requires --enable-loadso on mingw-w64 platform.
Summary: media-libs/libsdl2: USE=opengl requires --enable-loadso on mingw-w64 platform.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-04 18:36 UTC by hanetzer
Modified: 2017-11-05 06:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hanetzer 2017-11-04 18:36:44 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2017-11-04 23:51:02 UTC
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(-)}