1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

* 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
''; # */