* 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
|
preload=$out/libexec/spotify/libpreload.so
|
||||||
mkdir -p $out/libexec/spotify
|
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
|
wrapProgram $out/bin/spotify --set LD_PRELOAD $preload
|
||||||
''; # */
|
''; # */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user