Skip to content

Commit 0ec9b74

Browse files
authored
Merge pull request python-ldap#46 – Don't define search path for includes and libs
python-ldap#46
2 parents ece4738 + 5729d06 commit 0ec9b74

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Modules/LDAPObject.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@
1313
#include "options.h"
1414

1515
#ifdef HAVE_SASL
16-
#ifdef __APPLE__
1716
#include <sasl/sasl.h>
18-
#else
19-
#include <sasl.h>
20-
#endif
2117
#endif
2218

2319
static void free_attrs(char***, PyObject*);

setup.cfg

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
# for wrapping OpenLDAP 2 libs
66
[_ldap]
77

8-
# Define extra include and library dirs if needed
9-
library_dirs = /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
10-
include_dirs = /usr/include /usr/include/sasl /usr/local/include /usr/local/include/sasl
8+
# Define extra include and library dirs if needed. distutils adds non
9+
# standard library_dirs as rpath.
10+
# library_dirs = /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
11+
# include_dirs = /usr/include /usr/local/include
1112

1213
# These defines needs OpenLDAP built with
1314
# ./configure --with-cyrus-sasl --with-tls

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy