mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
ncurses: fix bug with libtinfo symlink that caused vim to fail
This commit is contained in:
parent
3829d1c17f
commit
e4f23bc8af
@ -91,9 +91,12 @@ stdenv.mkDerivation rec {
|
||||
if [ -e "$out/lib/lib''${library}$suffix.$dylibtype" ]; then
|
||||
ln -svf lib''${library}$suffix.$dylibtype $out/lib/lib$library$newsuffix.$dylibtype
|
||||
ln -svf lib''${library}$suffix.$dylibtype.${abiVersion} $out/lib/lib$library$newsuffix.$dylibtype.${abiVersion}
|
||||
# make libtinfo symlinks
|
||||
ln -svf lib''${library}$suffix.$dylibtype $out/lib/libtinfo$newsuffix.$dylibtype
|
||||
ln -svf lib''${library}$suffix.$dylibtype.${abiVersion} $out/lib/libtinfo$newsuffix.$dylibtype.${abiVersion}
|
||||
if [ "ncurses" = "$library" ]
|
||||
then
|
||||
# make libtinfo symlinks
|
||||
ln -svf lib''${library}$suffix.$dylibtype $out/lib/libtinfo$newsuffix.$dylibtype
|
||||
ln -svf lib''${library}$suffix.$dylibtype.${abiVersion} $out/lib/libtinfo$newsuffix.$dylibtype.${abiVersion}
|
||||
fi
|
||||
fi
|
||||
done
|
||||
for statictype in a dll.a la; do
|
||||
|
Loading…
Reference in New Issue
Block a user