Skip to content

Commit

Permalink
Merge pull request #46 – Don't define search path for includes and libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Viktorin authored and GitHub committed Nov 29, 2017
2 parents ece4738 + 5729d06 commit 0ec9b74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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
7 changes: 4 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
# for wrapping OpenLDAP 2 libs
[_ldap]

# Define extra include and library dirs if needed
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
# 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/local/include

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

0 comments on commit 0ec9b74

Please sign in to comment.