mirror of https://github.com/kivy/kivy.git
exit for frameworks only on darwin
This commit is contained in:
parent
593fe7cd79
commit
abc940b1ed
3
setup.py
3
setup.py
|
@ -601,7 +601,7 @@ def determine_sdl2():
|
|||
|
||||
sdl2_path = environ.get('KIVY_SDL2_PATH', None)
|
||||
|
||||
if sdl2_flags and not sdl2_path:
|
||||
if sdl2_flags and not sdl2_path and platform == 'darwin':
|
||||
return sdl2_flags
|
||||
|
||||
# no pkgconfig info, or we want to use a specific sdl2 path, so perform
|
||||
|
@ -610,7 +610,6 @@ def determine_sdl2():
|
|||
split_chr = ';' if platform == 'win32' else ':'
|
||||
sdl2_paths = sdl2_path.split(split_chr) if sdl2_path else []
|
||||
|
||||
inc_paths = sdl2_paths
|
||||
if not sdl2_paths:
|
||||
sdl_inc = join(dirname(sys.executable), 'include', 'SDL2')
|
||||
if isdir(sdl_inc):
|
||||
|
|
Loading…
Reference in New Issue