mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
* Pass --disable-static to configure by default it it's supported.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15234
This commit is contained in:
parent
ff057f0d07
commit
2a699fe5fb
1 changed files with 7 additions and 0 deletions
|
@ -548,6 +548,13 @@ configurePhase() {
|
|||
fi
|
||||
fi
|
||||
|
||||
# By default, disable static builds.
|
||||
if test -z "$dontDisableStatic"; then
|
||||
if grep -q enable-static $configureScript; then
|
||||
configureFlags="--disable-static $configureFlags"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "configure flags: $configureFlags ${configureFlagsArray[@]}"
|
||||
$configureScript $configureFlags "${configureFlagsArray[@]}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue