mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 10:53:52 +00:00
binutils: only autoconf on Darwin
This commit is contained in:
parent
022e81d7f1
commit
c981094480
@ -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 New Issue
Block a user