androidsdk: fix monitor interpreter path

This commit is contained in:
David McFarland 2018-11-10 15:11:15 -04:00
parent 4ec41a9a9e
commit c43abffb9c

View File

@ -93,7 +93,7 @@ stdenv.mkDerivation rec {
# The monitor requires some more patching # The monitor requires some more patching
cd lib/monitor-x86 cd lib/monitor-x86
patchelf --set-interpreter ${stdenv.cc.libc.out}/lib/ld-linux.so.2 monitor patchelf --set-interpreter ${stdenv_32bit.cc.libc.out}/lib/ld-linux.so.2 monitor
patchelf --set-rpath ${makeLibraryPath [ libX11 libXext libXrender freetype fontconfig ]} libcairo-swt.so patchelf --set-rpath ${makeLibraryPath [ libX11 libXext libXrender freetype fontconfig ]} libcairo-swt.so
wrapProgram `pwd`/monitor \ wrapProgram `pwd`/monitor \