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:
parent
4ddf706a2f
commit
3c0dc22e91
|
@ -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
|
||||
''; # */
|
||||
|
|
Loading…
Reference in a new issue