3
0
Fork 0
forked from mirrors/nixpkgs

treewide: Fix output references to libusb

This commit is contained in:
Tuomas Tynkkynen 2016-08-23 04:36:16 +03:00
parent f883bc03a4
commit 8a06db38df

View file

@ -28,7 +28,7 @@ in stdenv.mkDerivation rec {
patchPhase = ''
${myPatchElf "opt/brother/scanner/brscan4/brsaneconfig4"}
RPATH=${libusb}/lib
RPATH=${libusb.out}/lib
for a in usr/lib64/sane/*.so*; do
if ! test -L $a; then
patchelf --set-rpath $RPATH $a