3467585b1b
* Add the $gcc/lib to the library path in the Nixified stdenv. (This include libgcc.so and libstdc++.so.) svn path=/nixpkgs/trunk/; revision=340
10 lines
303 B
Bash
10 lines
303 B
Bash
export PATH=@PATH@
|
|
export SHELL=@SHELL@
|
|
|
|
. @BASEENV@/setup
|
|
|
|
export NIX_CFLAGS="-isystem @GLIBC@/include $NIX_CFLAGS"
|
|
export NIX_LDFLAGS="-L@GLIBC@/lib -Wl,-dynamic-linker,@GLIBC@/lib/ld-linux.so.2,-rpath,@GLIBC@/lib $NIX_LDFLAGS -L@GCC@/lib -Wl,-rpath,@GCC@/lib"
|
|
export NIX_CC=@CC@
|
|
export NIX_CXX=@CXX@
|