Changeset 4232


Ignore:
Timestamp:
Aug 20, 2012 6:01:41 AM (7 years ago)
Author:
ming
Message:

Re #1559: Add support for OS X version after 10.7.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/python/setup.py

    r4122 r4232  
    8888    extra_link_args = ["-framework", "CoreFoundation",  
    8989                       "-framework", "AudioToolbox"] 
    90     # OS X Lion support 
    91     if platform.mac_ver()[0].startswith("10.7"): 
     90    version = platform.mac_ver()[0].split(".")     
     91    # OS X Lion (10.7.x) or above support 
     92    if version[0] == '10' and int(version[1]) >= 7: 
    9293        extra_link_args += ["-framework", "AudioUnit"] 
    9394else: 
Note: See TracChangeset for help on using the changeset viewer.