forked from mirrors/nixpkgs
treewide: Fix output references to libusb
This commit is contained in:
parent
f883bc03a4
commit
8a06db38df
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue