Ignore:
Timestamp:
Dec 28, 2016 3:40:07 AM (8 years ago)
Author:
nanang
Message:

Re #1900: More merged from trunk (r5512 mistakenly contains merged changes in third-party dir only).

Location:
pjproject/branches/projects/uwp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp

  • pjproject/branches/projects/uwp/pjsip-apps/src/swig/python/setup.py

    r4756 r5513  
    6262#print 'PJ_VERSION = "'+ pj_version + '"' 
    6363 
     64# Get 'make' from environment variable if any 
     65MAKE = os.environ.get('MAKE') or "make" 
     66 
    6467# Get targetname 
    65 f = os.popen("make --no-print-directory -f helper.mak target_name") 
     68f = os.popen("%s --no-print-directory -f helper.mak target_name" % MAKE) 
    6669pj_target_name = f.read().rstrip("\r\n") 
    6770f.close() 
     
    6972# Fill in extra_compile_args 
    7073extra_compile_args = [] 
    71 f = os.popen("make --no-print-directory -f helper.mak cflags") 
     74f = os.popen("%s --no-print-directory -f helper.mak cflags" % MAKE) 
    7275for line in f: 
    7376    extra_compile_args.append(line.rstrip("\r\n")) 
     
    7679# Fill in libraries 
    7780libraries = [] 
    78 f = os.popen("make --no-print-directory -f helper.mak libs") 
     81f = os.popen("%s --no-print-directory -f helper.mak libs" % MAKE) 
    7982for line in f: 
    8083    libraries.append(line.rstrip("\r\n")) 
     
    8386# Fill in extra_link_args 
    8487extra_link_args = [] 
    85 f = os.popen("make --no-print-directory -f helper.mak ldflags") 
     88f = os.popen("%s --no-print-directory -f helper.mak ldflags" % MAKE) 
    8689for line in f: 
    8790    extra_link_args.append(line.rstrip("\r\n")) 
Note: See TracChangeset for help on using the changeset viewer.