scripts: sdl2: fix finding sdl2 on osx

This commit is contained in:
Alibek Omarov 2018-12-17 03:11:41 +03:00
parent 28e6dec4b0
commit 5d6d6c766e

View File

@ -28,7 +28,7 @@ def sdl2_configure_path(conf, path):
conf.env.INCLUDES_SDL2 = [
os.path.abspath(os.path.join(path, 'Headers'))
]
conf.env.FRAMEWORKPATH_SDL2 = [path]
conf.env.FRAMEWORKPATH_SDL2 = [os.path.dirname(path)]
conf.env.FRAMEWORK_SDL2 = ['SDL2']
else:
conf.env.INCLUDES_SDL2 = [