diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-10-17 12:43:37 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-10-17 12:43:37 -0500 |
commit | b7e17a2efd26f653b8b2a1097d86931d15407689 (patch) | |
tree | 7e7ab69665a05b3245e1f95f37aa3ab8a1392f92 /pkgs/development/libraries | |
parent | 845a364564b2829b3813d5887b85cf98049f4f72 (diff) | |
download | nixlib-b7e17a2efd26f653b8b2a1097d86931d15407689.tar nixlib-b7e17a2efd26f653b8b2a1097d86931d15407689.tar.gz nixlib-b7e17a2efd26f653b8b2a1097d86931d15407689.tar.bz2 nixlib-b7e17a2efd26f653b8b2a1097d86931d15407689.tar.lz nixlib-b7e17a2efd26f653b8b2a1097d86931d15407689.tar.xz nixlib-b7e17a2efd26f653b8b2a1097d86931d15407689.tar.zst nixlib-b7e17a2efd26f653b8b2a1097d86931d15407689.zip |
c-ares: disable shared, enable static
only static will build for me
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/c-ares/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/c-ares/default.nix b/pkgs/development/libraries/c-ares/default.nix index 1835356e627d..099d02c82639 100644 --- a/pkgs/development/libraries/c-ares/default.nix +++ b/pkgs/development/libraries/c-ares/default.nix @@ -9,6 +9,8 @@ stdenv.mkDerivation rec { sha256 = "0vnwmbvymw677k780kpb6sb8i3szdp89rzy8mz1fwg1657yw3ls5"; }; + configureFlags = if stdenv.hostPlatform.isWindows then [ "--disable-shared" "--enable-static" ] else null; + # ares_android.h header is missing # see issue https://github.com/c-ares/c-ares/issues/216 postPatch = if stdenv.hostPlatform.isAndroid then '' |