Skip to content

Commit

Permalink
sdl: Disable hid, link in OpenSLES - builds for Android.
Browse files Browse the repository at this point in the history
  • Loading branch information
renpytom committed Mar 6, 2022
1 parent 20606db commit 48c1588
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tasks/renpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def link_android(c):
-lGLESv1_CM
-lGLESv2
-lOpenSLES
-ljpeg
-lpng
-lwebp
Expand Down
5 changes: 4 additions & 1 deletion tasks/sdl2.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@ def build(c):
--disable-nas
--disable-sndio
--disable-fusionsound
--disable-hidapi
{% endif %}
""")
""")

if c.platform == "ios":
with open(c.path("include/SDL_config.h"), "a") as f:
Expand Down

0 comments on commit 48c1588

Please sign in to comment.