wok-6.x rev 12787

galculator: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 15 14:50:31 2012 +0200 (2012-05-15)
parents 93e88c5e3408
children fa56b3d2ddf6
files galculator/receipt
line diff
     1.1 --- a/galculator/receipt	Tue May 15 13:42:25 2012 +0200
     1.2 +++ b/galculator/receipt	Tue May 15 14:50:31 2012 +0200
     1.3 @@ -15,11 +15,13 @@
     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"
     1.9  	./configure \
    1.10  		--prefix=/usr \
    1.11  		$CONFIGURE_ARGS &&
    1.12  	make &&
    1.13 -	make DESTDIR=$PWD/_pkg install
    1.14 +	make DESTDIR=$DESTDIR install
    1.15  }
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.