[Erp5-report] r39907 luke - /erp5/trunk/buildout/software-profiles/python-2.7.cfg

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Nov 4 15:42:20 CET 2010


Author: luke
Date: Thu Nov  4 15:42:19 2010
New Revision: 39907

URL: http://svn.erp5.org?rev=39907&view=rev
Log:
 - 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)

Modified:
    erp5/trunk/buildout/software-profiles/python-2.7.cfg

Modified: erp5/trunk/buildout/software-profiles/python-2.7.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/python-2.7.cfg?rev=39907&r1=39906&r2=39907&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/python-2.7.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/python-2.7.cfg [utf8] Thu Nov  4 15:42:19 2010
@@ -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




More information about the Erp5-report mailing list