[Pkg-voip-commits] [pjproject] 01/16: Pass -lpathon2.7 explicitly to python module

tzafrir at debian.org tzafrir at debian.org
Thu Dec 31 14:14:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master-mergelibs
in repository pjproject.

commit 2ab2d5ad99edbed21a997659512ff53e99596517
Author: Tzafrir Cohen <tzafrir at debian.org>
Date:   Wed Dec 30 06:36:59 2015 +0200

    Pass -lpathon2.7 explicitly to python module
    
    Preparation for building with --as-needed.
    
    FIXME: this is probably the wrong way to do it, and also fails with
    python3.
---
 pjsip-apps/src/python/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pjsip-apps/src/python/setup.py b/pjsip-apps/src/python/setup.py
index 9eaed9d..8855fe5 100644
--- a/pjsip-apps/src/python/setup.py
+++ b/pjsip-apps/src/python/setup.py
@@ -92,7 +92,7 @@ if platform.system() == 'Darwin':
     if version[0] == '10' and int(version[1]) >= 7:
         extra_link_args += ["-framework", "AudioUnit"]
 else:
-    extra_link_args = []
+    extra_link_args = ['-lpython2.7']
 
 
 setup(name="pjsua", 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/pjproject.git



More information about the Pkg-voip-commits mailing list