forked from mirrors/nixpkgs
fix 32bit android emulator
This commit is contained in:
parent
8404d626ad
commit
b01886d654
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
|||
for i in emulator emulator-arm emulator-mips emulator-x86 mksdcard
|
||||
do
|
||||
patchelf --set-interpreter ${stdenv_32bit.cc.libc.out}/lib/ld-linux.so.2 $i
|
||||
patchelf --set-rpath ${stdenv_32bit.cc.cc}/lib $i
|
||||
patchelf --set-rpath ${stdenv_32bit.cc.cc.lib}/lib $i
|
||||
done
|
||||
|
||||
${stdenv.lib.optionalString (stdenv.system == "x86_64-linux") ''
|
||||
|
@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
|
|||
do
|
||||
wrapProgram `pwd`/$i \
|
||||
--prefix PATH : ${file}/bin \
|
||||
--suffix LD_LIBRARY_PATH : `pwd`/lib:${makeLibraryPath [ libX11 libxcb libXau libXdmcp libXext mesa alsaLib ]}
|
||||
--suffix LD_LIBRARY_PATH : `pwd`/lib:${makeLibraryPath [ libX11 libxcb libXau libXdmcp libXext mesa alsaLib]}
|
||||
done
|
||||
''}
|
||||
''}
|
||||
|
|
Loading…
Reference in a new issue