diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-02-20 18:23:00 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-02-27 17:56:31 -0500 |
commit | 3a672cb7d2194f859bf8b576359488ddb088aca5 (patch) | |
tree | 772b7feb8506fdd9cc4b043c8e0315cefce4d709 /pkgs/development/libraries/ncurses | |
parent | 2482e2858e7e2d5e91f506932f3774288ca6120d (diff) |
libiconv, ncurses: Add optional flags for minimal android variant
Diffstat (limited to 'pkgs/development/libraries/ncurses')
-rw-r--r-- | pkgs/development/libraries/ncurses/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix index d63536e75f06..f8a35e41cd61 100644 --- a/pkgs/development/libraries/ncurses/default.nix +++ b/pkgs/development/libraries/ncurses/default.nix @@ -3,6 +3,8 @@ , abiVersion , mouseSupport ? false , unicode ? true +, enableStatic ? stdenv.hostPlatform.useAndroidPrebuilt +, withCxx ? !stdenv.hostPlatform.useAndroidPrebuilt , gpm @@ -36,6 +38,8 @@ stdenv.mkDerivation rec { "--enable-pc-files" "--enable-symlinks" ] ++ lib.optional unicode "--enable-widec" + ++ lib.optional enableStatic "--enable-static" + ++ lib.optional (!withCxx) "--without-cxx" ++ lib.optional (abiVersion == "5") "--with-abi-version=5"; # Only the C compiler, and explicitly not C++ compiler needs this flag on solaris: |