ncurses: make shared linking optinoal

when enableShared = false, we set --without-shared flag.
wip/yesman
Matthew Bauer 6 years ago
parent e999def159
commit 53a67891ab
  1. 3
      pkgs/development/libraries/ncurses/default.nix

@ -4,6 +4,7 @@
, mouseSupport ? false
, unicode ? true
, enableStatic ? stdenv.hostPlatform.useAndroidPrebuilt
, enableShared ? !enableStatic
, withCxx ? !stdenv.hostPlatform.useAndroidPrebuilt
, gpm
@ -29,7 +30,7 @@ stdenv.mkDerivation rec {
setOutputFlags = false; # some aren't supported
configureFlags = [
"--with-shared"
(lib.withFeature enableShared "shared")
"--without-debug"
"--enable-pc-files"
"--enable-symlinks"

Loading…
Cancel
Save