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:
parent
1c043e0749
commit
da3e6d6eda
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue