Changeset 5281 for pjproject/trunk/pjsip-apps/src/python/setup.py
- Timestamp:
- May 3, 2016 4:27:07 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/python/setup.py
r4232 r5281 62 62 #print 'PJ_VERSION = "'+ pj_version + '"' 63 63 64 # Get 'make' from environment variable if any 65 MAKE = os.environ.get('MAKE') or "make" 64 66 65 67 # Fill in pj_inc_dirs 66 68 pj_inc_dirs = [] 67 f = os.popen(" make -f helper.mak inc_dir")69 f = os.popen("%s -f helper.mak inc_dir" % MAKE) 68 70 for line in f: 69 71 pj_inc_dirs.append(line.rstrip("\r\n")) … … 72 74 # Fill in pj_lib_dirs 73 75 pj_lib_dirs = [] 74 f = os.popen(" make -f helper.mak lib_dir")76 f = os.popen("%s -f helper.mak lib_dir" % MAKE) 75 77 for line in f: 76 78 pj_lib_dirs.append(line.rstrip("\r\n")) … … 79 81 # Fill in pj_libs 80 82 pj_libs = [] 81 f = os.popen(" make -f helper.mak libs")83 f = os.popen("%s -f helper.mak libs" % MAKE) 82 84 for line in f: 83 85 pj_libs.append(line.rstrip("\r\n"))
Note: See TracChangeset
for help on using the changeset viewer.