mirror of https://github.com/kivy/kivy.git
Get the SDK root from the environment.
$SDKROOT is set in kivy-ios/tools/environment.sh
This commit is contained in:
parent
144428b7b5
commit
3ba4b8adb4
2
setup.py
2
setup.py
|
@ -176,7 +176,7 @@ def determine_base_flags():
|
|||
'extra_link_args': [],
|
||||
'extra_compile_args': []}
|
||||
if c_options['use_ios']:
|
||||
sysroot = '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk'
|
||||
sysroot = environ['SDKROOT']
|
||||
flags['include_dirs'] += [sysroot]
|
||||
flags['extra_compile_args'] += ['-isysroot', sysroot]
|
||||
flags['extra_link_args'] += ['-isysroot', sysroot]
|
||||
|
|
Loading…
Reference in New Issue