mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00: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
@ -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 New Issue
Block a user