fc3bf6e6a8
Merged the examples subpackage into the main package Enabled sasl2 support by default ok alek@
20 lines
534 B
Plaintext
20 lines
534 B
Plaintext
--- setup.py.orig Wed Oct 27 00:29:10 2004
|
|
+++ setup.py Mon Nov 22 22:04:13 2004
|
|
@@ -27,8 +27,14 @@ f.close()
|
|
|
|
#-- A class describing the features and requirements of OpenLDAP 2.0
|
|
class OpenLDAP2:
|
|
- library_dirs = []
|
|
- include_dirs = []
|
|
+ localbase = os.getenv('LOCALBASE')
|
|
+ if localbase == None:
|
|
+ print "LOCALBASE not set"
|
|
+ sys.exit(1)
|
|
+
|
|
+ library_dirs = ['%s/lib' % localbase]
|
|
+ include_dirs = ['%s/include' % localbase, '%s/include/sasl' % localbase]
|
|
+
|
|
extra_compile_args = []
|
|
extra_link_args = []
|
|
extra_objects = []
|