1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

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;