mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
ncurses: make shared linking optinoal
when enableShared = false, we set --without-shared flag.
(cherry picked from commit 53a67891ab
)
This commit is contained in:
parent
a8e0694993
commit
3170d617ef
|
@ -4,6 +4,7 @@
|
||||||
, mouseSupport ? false
|
, mouseSupport ? false
|
||||||
, unicode ? true
|
, unicode ? true
|
||||||
, enableStatic ? stdenv.hostPlatform.useAndroidPrebuilt
|
, enableStatic ? stdenv.hostPlatform.useAndroidPrebuilt
|
||||||
|
, enableShared ? !enableStatic
|
||||||
, withCxx ? !stdenv.hostPlatform.useAndroidPrebuilt
|
, withCxx ? !stdenv.hostPlatform.useAndroidPrebuilt
|
||||||
|
|
||||||
, gpm
|
, gpm
|
||||||
|
@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||||
setOutputFlags = false; # some aren't supported
|
setOutputFlags = false; # some aren't supported
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-shared"
|
(lib.withFeature enableShared "shared")
|
||||||
"--without-debug"
|
"--without-debug"
|
||||||
"--enable-pc-files"
|
"--enable-pc-files"
|
||||||
"--enable-symlinks"
|
"--enable-symlinks"
|
||||||
|
|
Loading…
Reference in a new issue