office-gobmx/python/Python-2.6.1-cross.berkeleydb.patch
David Tardon 794e2e601f (incomplete) attempt to build internal python with MinGW
Change-Id: I39c880e8615b164a66eb900c11b26da9d6489e02
2012-06-17 17:36:52 +02:00

15 lines
457 B
Diff

--- misc/build/Python-2.6.1/Modules/Setup.dist (revision 74955)
+++ misc/build/Python-2.6.1/Modules/Setup.dist (working copy)
@@ -413,9 +413,9 @@
# and the subdirectory of PORT where you built it.
DB=$(prefix)
DBLIBVER=4.8
-DBINC=$(DB)/include
-DBLIB=$(DB)/lib
-_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)
+DBINC=$(OUTDIR)/inc/berkeleydb
+DBLIB=$(OUTDIR)/lib
+_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb47
# Historical Berkeley DB 1.85
#