You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2015/06/08 19:48:06 UTC

qpid-proton git commit: PROTON-895: fix the Cyrus SASL check

Repository: qpid-proton
Updated Branches:
  refs/heads/master d921c6bc8 -> e32f047c6


PROTON-895: fix the Cyrus SASL check


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/e32f047c
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/e32f047c
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/e32f047c

Branch: refs/heads/master
Commit: e32f047c665686c827adb6a55f4f447c5d477644
Parents: d921c6b
Author: Ken Giusti <kg...@apache.org>
Authored: Mon Jun 8 13:47:21 2015 -0400
Committer: Ken Giusti <kg...@apache.org>
Committed: Mon Jun 8 13:47:21 2015 -0400

----------------------------------------------------------------------
 proton-c/bindings/python/setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/e32f047c/proton-c/bindings/python/setup.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/setup.py b/proton-c/bindings/python/setup.py
index b255580..79168d2 100755
--- a/proton-c/bindings/python/setup.py
+++ b/proton-c/bindings/python/setup.py
@@ -191,7 +191,8 @@ class Configure(build_ext):
         # if it is available before adding the implementation to the sources
         # list. Eventually, `sasl.c` will be added and one of the existing
         # implementations will be used.
-        if not cc.has_function('sasl_set_path', libraries=('sasl2')):
+        if cc.has_function('sasl_client_done', includes=['sasl/sasl.h'],
+                           libraries=['sasl2']):
             libraries.append('sasl2')
             sources.append(os.path.join(proton_src, 'sasl', 'cyrus_sasl.c'))
         else:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org