treewide: Mass replace 'libusb1}/lib' to refer the 'out' output
This commit is contained in:
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = ''
|
||||
ln -s ${platformTools}/platform-tools/adb x10flasher_lib/adb.linux
|
||||
ln -s ${platformTools}/platform-tools/fastboot x10flasher_lib/fastboot.linux
|
||||
ln -s ${libusb1}/lib/libusb-1.0.so.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
|
||||
ln -s ${libusb1.out}/lib/libusb-1.0.so.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
|
||||
|
||||
chmod +x x10flasher_lib/unyaffs.linux.x86 x10flasher_lib/bin2elf x10flasher_lib/bin2sin
|
||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" x10flasher_lib/unyaffs.linux.x86
|
||||
|
||||
Reference in New Issue
Block a user