treewide: Use makeLibraryPath in 'patchelf --set-rpath' calls
This commit is contained in:
@@ -52,7 +52,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
mkdir -p $out/lib/sane
|
||||
my_patchelf \
|
||||
--set-rpath $(cat $NIX_CC/nix-support/orig-cc)/lib:${stdenv.glibc}/lib:${libusb}/lib:${libxml2}/lib \
|
||||
--set-rpath $(cat $NIX_CC/nix-support/orig-cc)/lib:${stdenv.lib.makeLibraryPath [ stdenv.glibc libusb libxml2 ] } \
|
||||
- ${arch}/libsane-smfp.so*
|
||||
install -m755 ${arch}/libsane-smfp.so* $out/lib/sane
|
||||
ln -s libsane-smfp.so.1.0.1 $out/lib/sane/libsane-smfp.so.1
|
||||
|
||||
Reference in New Issue
Block a user