- Timestamp:
- Oct 16, 2013 9:19:08 AM (11 years ago)
- Location:
- pjproject/branches/projects/pjsua2/pjsip-apps/src/swig/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip-apps/src/swig/python
- Property svn:ignore
-
old new 3 3 build 4 4 pjsua2_wrap.h 5 _pjsua2.pyd
-
- Property svn:ignore
-
pjproject/branches/projects/pjsua2/pjsip-apps/src/swig/python/setup.py
r4597 r4619 62 62 #print 'PJ_VERSION = "'+ pj_version + '"' 63 63 64 # Get targetname 65 f = os.popen("make --no-print-directory -f helper.mak target_name") 66 pj_target_name = f.read().rstrip("\r\n") 67 f.close() 64 68 65 69 # Fill in pj_inc_dirs … … 78 82 79 83 # Fill in pj_libs 80 pj_libs = ['pjsua2- x86_64-unknown-linux-gnu'] ### <--- xxxx HARDCODED xxxx84 pj_libs = ['pjsua2-' + pj_target_name] 81 85 f = os.popen("make --no-print-directory -f helper.mak libs") 82 86 for line in f: … … 84 88 f.close() 85 89 86 # Mac OS X depedencies 90 # Fill in extra link args 91 extra_link_args = ['-static-libstdc++'] 87 92 if platform.system() == 'Darwin': 88 extra_link_args = ["-framework", "CoreFoundation", 89 "-framework", "AudioToolbox"] 93 # Mac OS X depedencies 94 extra_link_args += ["-framework", "CoreFoundation", 95 "-framework", "AudioToolbox"] 90 96 # OS X Lion support 91 97 if platform.mac_ver()[0].startswith("10.7"): 92 98 extra_link_args += ["-framework", "AudioUnit"] 93 else: 94 extra_link_args = [] 99 95 100 96 101 setup(name="pjsua2",
Note: See TracChangeset
for help on using the changeset viewer.