1 |
commit: cc39765d64adba9bc7ad8d0764aa93f238f3480b |
2 |
Author: Marty E. Plummer <hanetzer <AT> protonmail <DOT> com> |
3 |
AuthorDate: Tue May 16 20:25:42 2017 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 4 23:50:43 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc39765d |
7 |
|
8 |
media-libs/libsdl2: --enable-loadso on windows |
9 |
|
10 |
For opengl to work on windows (at least via a mingw-w64 cross-compile) |
11 |
--enable-loadso is required, as they dlopen opengl32.dll to get a |
12 |
handle. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/636542 |
15 |
Signed-off-by: Marty E. Plummer <hanetzer <AT> protonmail.com> |
16 |
Closes: https://github.com/gentoo/gentoo/pull/4649 |
17 |
|
18 |
media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild | 2 +- |
19 |
media-libs/libsdl2/libsdl2-2.0.6.ebuild | 2 +- |
20 |
media-libs/libsdl2/libsdl2-2.0.7.ebuild | 2 +- |
21 |
3 files changed, 3 insertions(+), 3 deletions(-) |
22 |
|
23 |
diff --git a/media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild b/media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild |
24 |
index f5f05fb0c9b..308223bd1d9 100644 |
25 |
--- a/media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild |
26 |
+++ b/media-libs/libsdl2/libsdl2-2.0.5-r1.ebuild |
27 |
@@ -96,7 +96,7 @@ multilib_src_configure() { |
28 |
$(use_enable threads) \ |
29 |
--enable-timers \ |
30 |
--enable-file \ |
31 |
- --disable-loadso \ |
32 |
+ $(use_enable kernel_Winnt loadso) \ |
33 |
--enable-cpuinfo \ |
34 |
--enable-assembly \ |
35 |
$(use_enable cpu_flags_x86_sse ssemath) \ |
36 |
|
37 |
diff --git a/media-libs/libsdl2/libsdl2-2.0.6.ebuild b/media-libs/libsdl2/libsdl2-2.0.6.ebuild |
38 |
index 4117b57c829..96b9e931240 100644 |
39 |
--- a/media-libs/libsdl2/libsdl2-2.0.6.ebuild |
40 |
+++ b/media-libs/libsdl2/libsdl2-2.0.6.ebuild |
41 |
@@ -99,7 +99,7 @@ multilib_src_configure() { |
42 |
$(use_enable threads) |
43 |
--enable-timers |
44 |
--enable-file |
45 |
- --disable-loadso |
46 |
+ $(use_enable kernel_Winnt loadso) |
47 |
--enable-cpuinfo |
48 |
--enable-assembly |
49 |
$(use_enable cpu_flags_x86_sse ssemath) |
50 |
|
51 |
diff --git a/media-libs/libsdl2/libsdl2-2.0.7.ebuild b/media-libs/libsdl2/libsdl2-2.0.7.ebuild |
52 |
index 4117b57c829..96b9e931240 100644 |
53 |
--- a/media-libs/libsdl2/libsdl2-2.0.7.ebuild |
54 |
+++ b/media-libs/libsdl2/libsdl2-2.0.7.ebuild |
55 |
@@ -99,7 +99,7 @@ multilib_src_configure() { |
56 |
$(use_enable threads) |
57 |
--enable-timers |
58 |
--enable-file |
59 |
- --disable-loadso |
60 |
+ $(use_enable kernel_Winnt loadso) |
61 |
--enable-cpuinfo |
62 |
--enable-assembly |
63 |
$(use_enable cpu_flags_x86_sse ssemath) |