23d90c2324
(/lib, ...). So unless a directory is explicitly added using `-L' it won't we searched. This has already revealed that libxml has a hidden dependance on libz. svn path=/nixpkgs/trunk/; revision=357
16 lines
291 B
Bash
Executable file
16 lines
291 B
Bash
Executable file
#! /bin/sh
|
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
tar xvfj $src || exit 1
|
|
cd binutils-* || exit 1
|
|
|
|
# Clear the default library search path.
|
|
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt || exit 1
|
|
|
|
./configure --prefix=$out || exit 1
|
|
make || exit 1
|
|
make install || exit 1
|
|
|
|
strip -S $out/lib/*.a || exit 1
|