blob: 788a051b040fa9497e778851eb7708c807ad8099 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-aa,v 1.3 2005/01/02 12:43:12 seb Exp $
--- setup.py.orig 2004-12-16 09:10:17.000000000 +0000
+++ setup.py
@@ -177,11 +177,11 @@ if os.name == 'posix':
# 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 = [dblib]
+ if not '-ldb4' in LIBS:
+ libname = ['db4']
else:
if debug: print "LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'"
libname = []
|