[python-ldap] OS X python-ldap woes, patch + request

Miroslaw Baran miroslaw.baran at gmail.com
Fri Jul 24 17:43:14 CEST 2015


Hey,

Michael, if that wouldn’t be much of a problem, would you consider changing
the order of library/include directories in setup.cfg?

It’s the only think that keeps python-ldap from working from scratch with
homebrew’s openldap package installed. Diff inline and as an attachment for
your convenience.

Best regards
– Miroslaw Baran

 --- setup.cfg.old    2015-07-24 16:32:10.000000000 +0100+++ setup.cfg
   2015-07-24 16:32:55.000000000 +0100@@ -1,6 +1,6 @@
 [_ldap]-library_dirs = /usr/lib /usr/lib64 /usr/local/lib
/usr/local/lib64 -include_dirs = /usr/include /usr/include/sasl
/usr/local/include /usr/local/include/sasl +library_dirs =
/usr/local/lib /usr/local/lib64 /usr/lib /usr/lib64+include_dirs =
/usr/local/include /usr/local/include/sasl /usr/include
/usr/include/sasl
 defines = HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
 extra_compile_args =
 extra_objects =

​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20150724/fe5db62f/attachment.html>
-------------- next part --------------
--- setup.cfg.old	2015-07-24 16:32:10.000000000 +0100
+++ setup.cfg	2015-07-24 16:32:55.000000000 +0100
@@ -1,6 +1,6 @@
 [_ldap]
-library_dirs = /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64 
-include_dirs = /usr/include /usr/include/sasl /usr/local/include /usr/local/include/sasl 
+library_dirs = /usr/local/lib /usr/local/lib64 /usr/lib /usr/lib64
+include_dirs = /usr/local/include /usr/local/include/sasl /usr/include /usr/include/sasl 
 defines = HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
 extra_compile_args = 
 extra_objects = 


More information about the python-ldap mailing list