Skip to content

Commit

Permalink
SDL2: rebuild all projects that install SDL2 include files (#8546)
Browse files Browse the repository at this point in the history
  • Loading branch information
Beuc authored and kripken committed May 6, 2019
1 parent 39158e5 commit 07de93c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/ports/sdl2.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ def get(ports, settings, shared):
def create():
# we are rebuilding SDL, clear dependant projects so they copy in their includes to ours properly
ports.clear_project_build('sdl2_image')
ports.clear_project_build('sdl2_mixer')
ports.clear_project_build('sdl2_net')
ports.clear_project_build('sdl2_ttf')
ports.clear_project_build('sdl2_gfx')
# copy includes to a location so they can be used as 'SDL2/'
source_include_path = os.path.join(ports.get_dir(), 'sdl2', SUBDIR + '', 'include')
dest_include_path = os.path.join(shared.Cache.get_path('ports-builds'), 'sdl2', 'include')
Expand Down

0 comments on commit 07de93c

Please sign in to comment.