summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/py_pjsua/helper.mak
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-09-17 12:55:05 +0000
committerBenny Prijono <bennylp@teluu.com>2007-09-17 12:55:05 +0000
commit256d36fb49a1aebcea8d63dbb65f3597ddc2cb3c (patch)
treed88da4626c5a05d1665f79c2f8b30826c341a6ee /pjsip-apps/src/py_pjsua/helper.mak
parent3958e2dbefc4f2db0b17de30ccff2bfa4d78f741 (diff)
Fixed broken Python module build script
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1437 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/py_pjsua/helper.mak')
-rw-r--r--pjsip-apps/src/py_pjsua/helper.mak17
1 files changed, 17 insertions, 0 deletions
diff --git a/pjsip-apps/src/py_pjsua/helper.mak b/pjsip-apps/src/py_pjsua/helper.mak
new file mode 100644
index 00000000..b4acce61
--- /dev/null
+++ b/pjsip-apps/src/py_pjsua/helper.mak
@@ -0,0 +1,17 @@
+include ../../../build.mak
+
+lib_dir:
+ @for token in `echo $(APP_LDFLAGS)`; do \
+ echo $$token | grep L | sed 's/-L//'; \
+ done
+
+inc_dir:
+ @for token in `echo $(APP_CFLAGS)`; do \
+ echo $$token | grep I | sed 's/-I//'; \
+ done
+
+libs:
+ @for token in `echo $(APP_LDLIBS)`; do \
+ echo $$token | grep \\-l | sed 's/-l//'; \
+ done
+