diff options
author | Allan Que <allan.que@gmail.com> | 2018-01-22 21:32:15 -0600 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2018-01-23 20:48:46 +0100 |
commit | 1767a24d8c2411b66ab73a5a77936f56007ed579 (patch) | |
tree | 41df4ee8909d6575b0fefb0b082dd94919e8fb7a /setup.py | |
parent | c3ef0c67d3342d01926eb7bfea916b140fd8573d (diff) | |
download | m2crypto-1767a24d8c2411b66ab73a5a77936f56007ed579.tar.gz |
setup: search for include paths that start with ' /'
* modify _get_additional_includes() to only return paths that start
with ' /'. Fixes issue on OSX clang.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ def _get_additional_includes(): stderr=subprocess.PIPE) _, err = pid.communicate() err = [line.lstrip() for line in err.decode('utf8').split('\n') - if line and line[0] == ' '] + if line and line.startswith(' /')] log.debug('additional includes:\n%s', err) return err |