Commit 76070802 authored by Łukasz Nowak's avatar Łukasz Nowak

- 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
parent 530696eb
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment