glibc: fix -lgcc_s linking
https://github.com/NixOS/nixpkgs/commit/65221567c12eb20d12#commitcomment-9515597
This commit is contained in:
parent
a00f771551
commit
3d9e9f6571
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ in
|
|||
if [ -f ${stdenv.cc.cc}/lib/libgcc_s.so.1 ]; then
|
||||
mkdir -p $out/lib
|
||||
cp ${stdenv.cc.cc}/lib/libgcc_s.so.1 $out/lib/libgcc_s.so.1
|
||||
ln -s libgcc_s.so.1 $out/lib/libgcc_s.so
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue