mirror of https://github.com/kivy/kivy.git
merge sdl2_flags with the rest of compilation flags
* Update setup.py for SDL2 on Linux enable the SDL2 capability when the series of SDL2 libraries can be resolved * Update setup.py * revert previous change * Update setup.py merge sdl2_flags to flags when sdl2_flags is not empty
This commit is contained in:
parent
83b52d3b11
commit
ce5d4f3797
3
setup.py
3
setup.py
|
@ -626,6 +626,9 @@ def determine_sdl2():
|
|||
['-L' + p for p in sdl2_paths] if sdl2_paths else
|
||||
['-L/usr/local/lib/'])
|
||||
|
||||
if sdl2_flags:
|
||||
flags = merge(flags, sdl2_flags)
|
||||
|
||||
# ensure headers for all the SDL2 and sub libraries are available
|
||||
libs_to_check = ['SDL', 'SDL_mixer', 'SDL_ttf', 'SDL_image']
|
||||
can_compile = True
|
||||
|
|
Loading…
Reference in New Issue