blob: 6b7c86a0aad998c6c40d975c2705eabd79758309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- setup.py.old 2004-02-13 09:45:59.291327848 +0000
+++ setup.py 2004-02-13 09:49:39.189898184 +0000
@@ -70,11 +70,11 @@
# figure out from the base setting where the lib and .h are
if not incdir:
- incdir = os.path.join(BERKELEYDB_DIR, 'include')
+ incdir = os.path.join(BERKELEYDB_DIR, 'include/db4')
if not libdir:
libdir = os.path.join(BERKELEYDB_DIR, 'lib')
- if not '-ldb' in LIBS:
- libname = ['db']
+ if not '-ldb-4.0' in LIBS:
+ libname = ['db-4.0']
else:
libname = []
utils = []
@@ -93,7 +93,7 @@
fp = os.popen('ldd %s 2>&1' % sys.executable)
results = fp.read()
status = fp.close()
- if not status and results.find('libdb.') >= 0:
+ if not status and results.find('libdb-4.0.') >= 0:
static = 1
if static:
|