Skip to content

Commit

Permalink
webp and tiff images are not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Dec 3, 2023
1 parent e4d59e6 commit 9c6b9e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions win/sdl2.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ def get_sdl2(cache, build_path, arch, package, output, download_only=False):
if dirpath and dirpath[0] == sep:
dirpath = dirpath[1:]

if dirpath == "optional":
# SDL_* optional libraries should stay in the same
# directory as the main library
dirpath = ""

for filename in filenames:
is_dev = d != 'bin'
if d == 'lib':
Expand Down

0 comments on commit 9c6b9e8

Please sign in to comment.