Convert xcode_dev to unicode before building sysroot

This commit is contained in:
Dustin Farris 2014-01-31 17:34:02 -05:00
parent d48c9603ee
commit 56358d5313
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ def determine_base_flags():
sdk_mac_ver = '.'.join(_platform.mac_ver()[0].split('.')[:2])
print('Xcode detected at {}, and using MacOSX{} sdk'.format(
xcode_dev, sdk_mac_ver))
sysroot = join(xcode_dev,
sysroot = join(xcode_dev.decode('utf-8'),
'Platforms/MacOSX.platform/Developer/SDKs',
'MacOSX{}.sdk'.format(sdk_mac_ver),
'System/Library/Frameworks')