rust: Fixed build

gstqt5
Georges Dubus 2014-01-22 16:36:05 +01:00
parent 6eed023894
commit 49dd0867a7
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ stdenv.mkDerivation {
preBuild = if stdenv.isLinux then ''
make ${target}/stage0/bin/rustc
patchelf --interpreter ${stdenv.glibc}/lib/${stdenv.gcc.dynamicLinker} \
--set-rpath ${stdenv.gcc.gcc}/lib/ \
--set-rpath ${stdenv.gcc.gcc}/lib/:${stdenv.gcc.gcc}/lib64/ \
${target}/stage0/bin/rustc
'' else null;