summaryrefslogtreecommitdiff
path: root/config/ios.config
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-05-21 12:19:52 +0200
committerEdward Hervey <bilboed@bilboed.com>2018-05-21 12:19:52 +0200
commiteb0561a0f6b0facc6b50edb06ce4f367da2ca542 (patch)
treec35147efadf392aa77dea50405d3e36ac8b433dd /config/ios.config
parent4cb40b2833ea28f7951e6e023a42990e7c4d7f5a (diff)
config: Remove ios header hack
There is a proper way to detect this. Normally most packages have already received a fix upstream. Disabling this hack. If it still happens in some packages we'll patch them. Avoid having to do sudo in automated builds also ...
Diffstat (limited to 'config/ios.config')
-rw-r--r--config/ios.config8
1 files changed, 0 insertions, 8 deletions
diff --git a/config/ios.config b/config/ios.config
index 1302be39..c3a1cd17 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -123,14 +123,6 @@ else:
os.environ['GAS']= '%s %s %s' % ('gas-preprocessor.pl', os.environ['CC'], os.environ['CFLAGS'])
-macosx_headers = '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include'
-for missing_header in ["bzlib.h", "crt_externs.h"]:
- missing_path = os.path.join(sysroot, "usr", "include", missing_header)
- if not os.path.lexists(missing_path):
- # FIXME This is not smart especially as we need to sudo
- print("We need to create a syslink between %s and %s as they are missing in the device SDK" %(os.path.join(macosx_headers, missing_header), missing_path))
- shell.call("sudo ln -s %s %s" %(os.path.join(macosx_headers, missing_header), missing_path))
-
if use_ccache:
os.environ['CC'] = 'ccache %s' % os.environ['CC']