Browse Source

scripts: sdl2: fix finding sdl2 on osx

pull/2/head
Alibek Omarov 6 years ago
parent
commit
5d6d6c766e
  1. 2
      scripts/waflib/sdl2.py

2
scripts/waflib/sdl2.py

@ -28,7 +28,7 @@ def sdl2_configure_path(conf, path):
conf.env.INCLUDES_SDL2 = [ conf.env.INCLUDES_SDL2 = [
os.path.abspath(os.path.join(path, 'Headers')) 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'] conf.env.FRAMEWORK_SDL2 = ['SDL2']
else: else:
conf.env.INCLUDES_SDL2 = [ conf.env.INCLUDES_SDL2 = [

Loading…
Cancel
Save