summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@protonmail.com>2017-05-16 15:25:42 -0500
committerJames Le Cuirot <chewi@gentoo.org>2017-11-04 23:50:43 +0000
commitcc39765d64adba9bc7ad8d0764aa93f238f3480b (patch)
tree49b5cf7b2e5961d12f57fc70d272c57b9f6db934 /media-libs/libsdl2
parentsys-apps/inxi: Drop old versions (diff)
downloadgentoo-cc39765d64adba9bc7ad8d0764aa93f238f3480b.tar.gz
gentoo-cc39765d64adba9bc7ad8d0764aa93f238f3480b.tar.bz2
gentoo-cc39765d64adba9bc7ad8d0764aa93f238f3480b.zip
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
Diffstat (limited to 'media-libs/libsdl2')
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild2
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.6.ebuild2
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.7.ebuild2
3 files changed, 3 insertions, 3 deletions
diff --git a/media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild b/media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild
index f5f05fb0c9bc..308223bd1d9c 100644
--- a/media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild
@@ -96,7 +96,7 @@ multilib_src_configure() {
$(use_enable threads) \
--enable-timers \
--enable-file \
- --disable-loadso \
+ $(use_enable kernel_Winnt loadso) \
--enable-cpuinfo \
--enable-assembly \
$(use_enable cpu_flags_x86_sse ssemath) \
diff --git a/media-libs/libsdl2/libsdl2-2.0.6.ebuild b/media-libs/libsdl2/libsdl2-2.0.6.ebuild
index 4117b57c829b..96b9e931240d 100644
--- a/media-libs/libsdl2/libsdl2-2.0.6.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.6.ebuild
@@ -99,7 +99,7 @@ multilib_src_configure() {
$(use_enable threads)
--enable-timers
--enable-file
- --disable-loadso
+ $(use_enable kernel_Winnt loadso)
--enable-cpuinfo
--enable-assembly
$(use_enable cpu_flags_x86_sse ssemath)
diff --git a/media-libs/libsdl2/libsdl2-2.0.7.ebuild b/media-libs/libsdl2/libsdl2-2.0.7.ebuild
index 4117b57c829b..96b9e931240d 100644
--- a/media-libs/libsdl2/libsdl2-2.0.7.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.7.ebuild
@@ -99,7 +99,7 @@ multilib_src_configure() {
$(use_enable threads)
--enable-timers
--enable-file
- --disable-loadso
+ $(use_enable kernel_Winnt loadso)
--enable-cpuinfo
--enable-assembly
$(use_enable cpu_flags_x86_sse ssemath)