1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

GNU Ncurses: Fix C++-less builds.

svn path=/nixpkgs/trunk/; revision=25649
This commit is contained in:
Ludovic Courtès 2011-01-20 23:32:09 +00:00
parent 1d7aac3e44
commit ec042dad00

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation (rec {
# compatibility links from the the "normal" libraries to the
# wide-character libraries (e.g. libncurses.so to libncursesw.so).
postInstall = if unicode then ''
chmod 644 $out/lib/libncurses++w.a
${if cxx then "chmod 644 $out/lib/libncurses++w.a" else ""}
for lib in curses ncurses form panel menu; do
if test -e $out/lib/lib''${lib}w.a; then
rm -f $out/lib/lib$lib.so