forked from mirrors/nixpkgs
* 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 a new issue