wok rev 12668

rdpdesk: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 12:02:51 2012 +0200 (2012-05-01)
parents a8c1661a6b17
children fcbade2677f7
files rdpdesk/receipt
line diff
     1.1 --- a/rdpdesk/receipt	Tue May 01 11:48:38 2012 +0200
     1.2 +++ b/rdpdesk/receipt	Tue May 01 12:02:51 2012 +0200
     1.3 @@ -17,7 +17,11 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
     1.8 +	export LDFLAGS="-Wl,--copy-dt-needed-entries"
     1.9 +
    1.10  	cd $src
    1.11 +	sed -i 's|glib/.*h|glib.h|' src/proto/*Connection_nix.hpp
    1.12  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.13  	make &&
    1.14  	make DESTDIR=$DESTDIR install