wok-6.x rev 12760
parcellite: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 11:58:09 2012 +0200 (2012-05-12) |
parents | a5587b626515 |
children | eb567df29701 |
files | parcellite/receipt |
line diff
1.1 --- a/parcellite/receipt Sat May 12 11:15:54 2012 +0200 1.2 +++ b/parcellite/receipt Sat May 12 11:58:09 2012 +0200 1.3 @@ -16,6 +16,9 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + # Binutils 2.22 break many packages build without LDFLAGS set correctly. 1.8 + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" 1.9 + find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' 1.10 ./configure \ 1.11 --prefix=/usr \ 1.12 $CONFIGURE_ARGS &&