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
|
# compatibility links from the the "normal" libraries to the
|
||||||
# wide-character libraries (e.g. libncurses.so to libncursesw.so).
|
# wide-character libraries (e.g. libncurses.so to libncursesw.so).
|
||||||
postInstall = if unicode then ''
|
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
|
for lib in curses ncurses form panel menu; do
|
||||||
if test -e $out/lib/lib''${lib}w.a; then
|
if test -e $out/lib/lib''${lib}w.a; then
|
||||||
rm -f $out/lib/lib$lib.so
|
rm -f $out/lib/lib$lib.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user