binutils: only autoconf on Darwin
This commit is contained in:
parent
022e81d7f1
commit
c981094480
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ stdenv.mkDerivation {
|
|||
|
||||
inherit noSysDirs;
|
||||
|
||||
preConfigure = ''
|
||||
preConfigure = (lib.optionalString targetPlatform.isDarwin ''
|
||||
for i in */configure.ac; do
|
||||
pushd "$(dirname "$i")"
|
||||
echo "Running autoreconf in $PWD"
|
||||
|
@ -119,7 +119,7 @@ stdenv.mkDerivation {
|
|||
autoconf
|
||||
popd
|
||||
done
|
||||
|
||||
'') + ''
|
||||
# Clear the default library search path.
|
||||
if test "$noSysDirs" = "1"; then
|
||||
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt
|
||||
|
|
Loading…
Reference in a new issue