mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
scripts: sdl2: fix finding sdl2 on osx
This commit is contained in:
parent
28e6dec4b0
commit
5d6d6c766e
@ -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…
x
Reference in New Issue
Block a user