3
0
Fork 0
forked from mirrors/nixpkgs

* x86_64-linux requires -fPIC.

svn path=/nixpkgs/trunk/; revision=25893
This commit is contained in:
Eelco Dolstra 2011-02-11 11:26:40 +00:00
parent 4ddf706a2f
commit 3c0dc22e91

View file

@ -38,7 +38,7 @@ stdenv.mkDerivation {
preload=$out/libexec/spotify/libpreload.so
mkdir -p $out/libexec/spotify
gcc -shared ${./preload.c} -o $preload -ldl -DOUT=\"$out\"
gcc -shared ${./preload.c} -o $preload -ldl -DOUT=\"$out\" -fPIC
wrapProgram $out/bin/spotify --set LD_PRELOAD $preload
''; # */