ncurses: fix cross-build by disable stripping

Ncurses uses `install -s` to also strip the binaries while installing.
This broke the cross build because the wrong strip command was chosen.
This commit is contained in:
Jörg Thalheim 2018-12-09 13:45:49 +00:00
parent 7a4c81dfc8
commit ceaee84401

View File

@ -35,6 +35,7 @@ stdenv.mkDerivation rec {
"--enable-pc-files" "--enable-pc-files"
"--enable-symlinks" "--enable-symlinks"
"--with-manpage-format=normal" "--with-manpage-format=normal"
"--disable-stripping"
] ++ lib.optional unicode "--enable-widec" ] ++ lib.optional unicode "--enable-widec"
++ lib.optional (!withCxx) "--without-cxx" ++ lib.optional (!withCxx) "--without-cxx"
++ lib.optional (abiVersion == "5") "--with-abi-version=5" ++ lib.optional (abiVersion == "5") "--with-abi-version=5"