glibc-2.17: Don't link to stdenv.lib.gcc if it's null.
This fixes the tarball Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
5e3e07293f
commit
1c86181857
@ -143,7 +143,9 @@ stdenv.mkDerivation ({
|
||||
|
||||
configureScript="`pwd`/../$sourceRoot/configure"
|
||||
|
||||
makeFlags="$makeFlags BUILD_LDFLAGS=-Wl,-rpath,${stdenv.gcc.libc}/lib"
|
||||
${stdenv.lib.optionalString (stdenv.gcc.libc != null)
|
||||
''makeFlags="$makeFlags BUILD_LDFLAGS=-Wl,-rpath,${stdenv.gcc.libc}/lib"''
|
||||
}
|
||||
|
||||
${preConfigure}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user