From 0ebdc7933623e6085237128cebd3f5a418ec43c0 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Fri, 10 Jul 2020 13:10:00 +0200 Subject: [PATCH] Allow multiple SDL2 include dirs --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 23e409f..52f0592 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ include_dirs = [] sdl_include_dir = environ.get('SDL2_INCLUDE_DIR') if sdl_include_dir: - include_dirs.append(sdl_include_dir) + include_dirs.extend(sdl_include_dir.split(':')) include_dirs.append('/usr/include/SDL2') libraries = ['SDL2', 'SDL2_mixer'] else: