add a missing rpath to self in nettle.
[slapos.git] / component / nettle / buildout.cfg
1 [buildout]
2 extends =
3   ../gmp/buildout.cfg
4   ../m4/buildout.cfg
5
6 [nettle]
7 recipe = slapos.recipe.cmmi
8 url = http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz
9 md5sum = 003d5147911317931dd453520eb234a5
10 patches =
11   ${:_profile_base_location_}/nettle-lib-location.patch#41dd0ce2a73487929bdc637b75dd62c9
12 configure-option =
13   --disable-static
14   --disable-assembler
15   --disable-openssl
16   --disable-documentation
17 environment =
18   PATH=${m4:location}/bin:%(PATH)s
19   CPPFLAGS=-I${gmp:location}/include
20   LDFLAGS=-L${gmp:location}/lib -Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${buildout:parts-directory}/${:_buildout_section_name_}/lib