Skip to content

Commit 4b6eba9

Browse files
authored
SDL2: don't remove SDL2_* ports on build (#10688)
This isn't necessary anymore since #9983 / 5d222c1 (common include/ directory).
1 parent abfef1c commit 4b6eba9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tools/ports/sdl2.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ def get(ports, settings, shared):
1919
libname = ports.get_lib_name('libSDL2' + ('-mt' if settings.USE_PTHREADS else ''))
2020

2121
def create():
22-
# we are rebuilding SDL, clear dependant projects so they copy in their includes to ours properly
23-
ports.clear_project_build('sdl2_image')
24-
ports.clear_project_build('sdl2_mixer')
25-
ports.clear_project_build('sdl2_net')
26-
ports.clear_project_build('sdl2_ttf')
27-
ports.clear_project_build('sdl2_gfx')
28-
2922
# copy includes to a location so they can be used as 'SDL2/'
3023
source_include_path = os.path.join(ports.get_dir(), 'sdl2', SUBDIR, 'include')
3124
ports.install_headers(source_include_path, target='SDL2')

0 commit comments

Comments
 (0)