- Timestamp:
- Feb 21, 2014 7:49:37 AM (11 years ago)
- Location:
- pjproject/trunk/pjsip-apps/src/swig/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/swig/python/helper.mak
r4753 r4756 3 3 4 4 ldflags: 5 @for token in `echo $(PJ_LDXX LIBS) $(PJ_LDXXFLAGS) $(LDFLAGS)`; do \5 @for token in `echo $(PJ_LDXXFLAGS) $(LDFLAGS)`; do \ 6 6 echo $$token; \ 7 done 8 9 libs: 10 @for token in `echo $(PJ_LDXXLIBS) $(LIBS)`; do \ 11 echo $$token | grep \\-l | sed 's/-l//'; \ 7 12 done 8 13 -
pjproject/trunk/pjsip-apps/src/swig/python/setup.py
r4753 r4756 74 74 f.close() 75 75 76 # Fill in libraries 77 libraries = [] 78 f = os.popen("make --no-print-directory -f helper.mak libs") 79 for line in f: 80 libraries.append(line.rstrip("\r\n")) 81 f.close() 82 76 83 # Fill in extra_link_args 77 84 extra_link_args = [] … … 91 98 url='http://www.pjsip.org', 92 99 ext_modules = [Extension("_pjsua2", 93 ["pjsua2_wrap.cpp"], 100 ["pjsua2_wrap.cpp"], 101 libraries=libraries, 94 102 extra_compile_args=extra_compile_args, 95 103 extra_link_args=extra_link_args
Note: See TracChangeset
for help on using the changeset viewer.