wok diff gitmail/receipt @ rev 15110
Add some LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 18:02:00 2013 +0000 (2013-08-14) |
parents | 02bbaa9d12ba |
children | d3fe634de29c |
line diff
1.1 --- a/gitmail/receipt Mon Apr 04 01:29:52 2011 +0200 1.2 +++ b/gitmail/receipt Wed Aug 14 18:02:00 2013 +0000 1.3 @@ -15,9 +15,10 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread" 1.8 ./configure --prefix=/usr $CONFIGURE_ARGS && 1.9 make && 1.10 - make DESTDIR=$PWD/_pkg \ 1.11 + make DESTDIR=$DESTDIR \ 1.12 gitmaildocdir=/usr/share/doc/GhostInTheMail \ 1.13 install 1.14 } 1.15 @@ -26,5 +27,5 @@ 1.16 genpkg_rules() 1.17 { 1.18 mkdir -p $fs/usr 1.19 - cp -a $_pkg/usr/bin $fs/usr 1.20 + cp -a $install/usr/bin $fs/usr 1.21 }