mirror of https://github.com/kivy/kivy.git
core-sdl: Make it compile on OSX with SDL 1.3 checked out from hg via homebrew
This commit is contained in:
parent
23ae570a9f
commit
c7ed23c7f0
7
setup.py
7
setup.py
|
@ -152,7 +152,12 @@ if True:
|
|||
|
||||
# simple extensions
|
||||
sdl_libraries = ['SDL']
|
||||
sdl_includes = ['/usr/include/SDL']
|
||||
if platform == 'darwin':
|
||||
# Paths as per homebrew (modified formula to use hg checkout)
|
||||
sdl_includes = ['/usr/local/Cellar/sdl/HEAD/include/SDL']
|
||||
extra_link_args += ['-L', '/usr/local/Cellar/sdl/HEAD/lib']
|
||||
else:
|
||||
sdl_includes = ['/usr/include/SDL']
|
||||
for pyx in (x for x in pyx_files if not 'graphics' in x):
|
||||
pxd = [x for x in pxd_files if not 'graphics' in x]
|
||||
module_name = get_modulename_from_file(pyx)
|
||||
|
|
Loading…
Reference in New Issue