treewide: Make all the rest of configureFlags

This commit is contained in:
John Ericson
2018-08-03 12:52:40 -04:00
parent f92ed87372
commit f0d6b385d1
19 changed files with 49 additions and 30 deletions

View File

@@ -10,7 +10,10 @@ stdenv.mkDerivation {
hardeningDisable = [ "format" ];
configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
configureFlags = [
(stdenv.lib.enableFeature stdenv.isCygwin "static")
(stdenv.lib.enableFeature (!stdenv.isCygwin) "shared")
];
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;