From 76070802da3e02e0610218c01c62dcd71d27119f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Thu, 4 Nov 2010 14:42:19 +0000 Subject: [PATCH] - link against locally delivered libdb - use rpath to put be sure that dynamic libraries will be loaded from proper places (especially important in case of using on non clean machine which provide libraries in standard places) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39907 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/software-profiles/python-2.7.cfg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/buildout/software-profiles/python-2.7.cfg b/buildout/software-profiles/python-2.7.cfg index 1ff1ca7f58..c3cf14c5fe 100644 --- a/buildout/software-profiles/python-2.7.cfg +++ b/buildout/software-profiles/python-2.7.cfg @@ -2,10 +2,11 @@ extends = ../software-profiles/bzip2.cfg ../software-profiles/gdbm.cfg + ../software-profiles/libdb.cfg ../software-profiles/ncurses.cfg ../software-profiles/openssl.cfg - ../software-profiles/sqlite3.cfg ../software-profiles/readline.cfg + ../software-profiles/sqlite3.cfg ../software-profiles/zlib.cfg ../profiles/bootstrap.cfg @@ -31,8 +32,8 @@ configure-options = python_version_major = 2.7 environment = - CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${ncurses:location}/include/ -I${ncurses:location}/include/ncursesw/ -I${bzip2:location}/include -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include - LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib -L${sqlite3:location}/lib + CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${ncurses:location}/include/ -I${ncurses:location}/include/ncursesw/ -I${bzip2:location}/include -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include -I${libdb:location}/include + LDFLAGS=-Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${readline:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -Wl,-rpath -Wl,${bzip2:location}/lib -Wl,-rpath -Wl,${gdbm:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -Wl,-rpath -Wl,${sqlite3:location}/lib -Wl,-rpath -Wl,${libdb:location}/lib [bootstrap2.7] <= bootstrap -- 2.30.9