nixpkgs/pkgs/stdenv-linux/stdenv-nativetools-build.sh
Eelco Dolstra 6b66d16116 * Provide an ld-wrapper that sets the linker search path correctly (just like
gcc-wrapper).  Useful for builds that call ld directly.

svn path=/nixpkgs/trunk/; revision=363
2003-08-27 12:37:38 +00:00

11 lines
171 B
Bash
Executable File

#! /bin/sh
export PATH=/usr/local/bin:/usr/bin:/bin
mkdir $out || exit 1
sed \
-e s^@GLIBC\@^$glibc^g \
-e s^@BASEENV\@^$baseenv^g \
< $setup > $out/setup || exit 1