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