mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
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
|