wok-6.x rev 12930

celestia: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 10:08:34 2012 +0200 (2012-05-30)
parents 97eef196916c
children d4421f4b7603
files celestia/receipt
line diff
     1.1 --- a/celestia/receipt	Wed May 30 09:26:32 2012 +0200
     1.2 +++ b/celestia/receipt	Wed May 30 10:08:34 2012 +0200
     1.3 @@ -15,8 +15,10 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl"
     1.8  	patch -p0 -i $stuff/celestia-1.6.0-gcc45.patch
     1.9  	patch -p1 -i $stuff/make-dereferenced-temporaries-explicit
    1.10 +	sed -i 's/NULL/0/' src/celengine/frametree.h
    1.11  	./configure \
    1.12  		--prefix=/usr \
    1.13  		--infodir=/usr/share/info \