summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/swig/python/helper.mak
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2014-02-21 07:49:37 +0000
committerNanang Izzuddin <nanang@teluu.com>2014-02-21 07:49:37 +0000
commit0f680b988a08ea439438f4483d1d97a78145fb48 (patch)
tree7992fba955b80545561be367bb5415d65ffff92a /pjsip-apps/src/swig/python/helper.mak
parent3c1f16b11fde9004f93cab80993f1bbee39ca0cf (diff)
More pjsua2 SWIG Python (re #1519): Separate library dependencies from Python Extension setting 'extra_link_args', so PJ lib dependencies are specified before Python's (otherwise strange crash happens on MinGW).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4756 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/swig/python/helper.mak')
-rw-r--r--pjsip-apps/src/swig/python/helper.mak7
1 files changed, 6 insertions, 1 deletions
diff --git a/pjsip-apps/src/swig/python/helper.mak b/pjsip-apps/src/swig/python/helper.mak
index a47ea6dd..4f45716d 100644
--- a/pjsip-apps/src/swig/python/helper.mak
+++ b/pjsip-apps/src/swig/python/helper.mak
@@ -2,10 +2,15 @@ include ../../../../build.mak
include $(PJDIR)/build/common.mak
ldflags:
- @for token in `echo $(PJ_LDXXLIBS) $(PJ_LDXXFLAGS) $(LDFLAGS)`; do \
+ @for token in `echo $(PJ_LDXXFLAGS) $(LDFLAGS)`; do \
echo $$token; \
done
+libs:
+ @for token in `echo $(PJ_LDXXLIBS) $(LIBS)`; do \
+ echo $$token | grep \\-l | sed 's/-l//'; \
+ done
+
cflags:
@for token in `echo $(PJ_CXXFLAGS) $(CFLAGS)`; do \
echo $$token; \