Commit 128f0561 authored by Łukasz Nowak's avatar Łukasz Nowak

- build against locally provided zlib and bzip2

 - fix self rpath issue by passing rpath to self library


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40018 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 50d9fbcc
[buildout]
extends =
../software-profiles/bzip2.cfg
../software-profiles/zlib.cfg
parts = tokyocabinet
[tokyocabinet]
# XXX-Luke: There is issue when with linking. After building for first time
# libtokyocabinet.so.9: is not correctly linked with parts/tokyocabinet/bin/tcamgr
# and others.
# As workaround please just rebuild, by invoking:
# bin/buildout install tokyocabinet
# Packages depending on tokyocabinet (like flare) are unaffected.
recipe = hexagonit.recipe.cmmi
url = http://fallabs.com/tokyocabinet/tokyocabinet-1.4.46.tar.gz
md5sum = 341dadd1f3d68760e350f7e731111786
configure-options =
--enable-zlib
--enable-bzip
# disabled for now - those libraries have to be provided by buildout itself
# --enable-pthread
# --enable-exlzma
--with-zlib=${zlib:location}
--with-bzip=${bzip2:location}
environment =
LDFLAGS =-Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${bzip2:location}/lib -Wl,-rpath=${buildout:parts-directory}/${:_buildout_section_name_}/lib
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