Skip to content

Commit

Permalink
Include sasl.h from standard path
Browse files Browse the repository at this point in the history
<sasl/sasl.h> is the standard include path for sasl.h.
``pkg-config --cflags libsasl2`` agrees with me.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
  • Loading branch information
Christian Heimes committed Nov 28, 2017
1 parent 703d322 commit 5729d06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions Modules/LDAPObject.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
#include "options.h"

#ifdef HAVE_SASL
#ifdef __APPLE__
#include <sasl/sasl.h>
#else
#include <sasl.h>
#endif
#endif

static void free_attrs(char***, PyObject*);
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Define extra include and library dirs if needed. distutils adds non
# standard library_dirs as rpath.
# 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
# include_dirs = /usr/include /usr/local/include

# These defines needs OpenLDAP built with
# ./configure --with-cyrus-sasl --with-tls
Expand Down

0 comments on commit 5729d06

Please sign in to comment.