diff options
author | Jason Parker <jparker@digium.com> | 2013-03-11 15:09:56 -0500 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2013-03-11 15:09:56 -0500 |
commit | 483805f79570115ab95c69698792d238c1719b1b (patch) | |
tree | 6b53ab2fd2b2478f864ccc8bd1b0bfaedc4d2050 /pjsip-apps/src/python/setup.py | |
parent | f3ab456a17af1c89a6e3be4d20c5944853df1cb0 (diff) |
Import pjproject-2.1
Diffstat (limited to 'pjsip-apps/src/python/setup.py')
-rw-r--r-- | pjsip-apps/src/python/setup.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pjsip-apps/src/python/setup.py b/pjsip-apps/src/python/setup.py index ae22491..9eaed9d 100644 --- a/pjsip-apps/src/python/setup.py +++ b/pjsip-apps/src/python/setup.py @@ -1,4 +1,4 @@ -# $Id: setup.py 4122 2012-05-14 11:04:46Z bennylp $ +# $Id: setup.py 4232 2012-08-20 06:01:41Z ming $ # # pjsua Setup script. # @@ -87,8 +87,9 @@ f.close() if platform.system() == 'Darwin': extra_link_args = ["-framework", "CoreFoundation", "-framework", "AudioToolbox"] - # OS X Lion support - if platform.mac_ver()[0].startswith("10.7"): + version = platform.mac_ver()[0].split(".") + # OS X Lion (10.7.x) or above support + if version[0] == '10' and int(version[1]) >= 7: extra_link_args += ["-framework", "AudioUnit"] else: extra_link_args = [] |