3
0
Fork 0
forked from mirrors/nixpkgs

google-talk-plugin: Prevent a dependency on gcc

This commit is contained in:
Eelco Dolstra 2016-09-19 13:57:17 +02:00
parent 1c043e0749
commit da3e6d6eda

View file

@ -98,6 +98,10 @@ stdenv.mkDerivation rec {
mkdir -p $(dirname $preload)
gcc -shared ${./preload.c} -o $preload -ldl -DOUT=\"$out\" -fPIC
echo $preload > $plugins/extra-ld-preload
# Prevent a dependency on gcc.
strip -S $preload
patchELF $preload
'';
dontStrip = true;