dropbox: leave RPATH-shrinking to patchelf setup hook
This commit is contained in:
parent
096c72e255
commit
2e591bac0d
1 changed files with 0 additions and 4 deletions
|
@ -68,7 +68,6 @@ in stdenv.mkDerivation {
|
|||
|
||||
sourceRoot = ".dropbox-dist";
|
||||
|
||||
dontPatchELF = true; # patchelf invoked explicitly below
|
||||
nativeBuildInputs = [ makeQtWrapper patchelf ];
|
||||
dontStrip = true; # already done
|
||||
|
||||
|
@ -121,9 +120,6 @@ in stdenv.mkDerivation {
|
|||
oldRPATH=$(patchelf --print-rpath "$obj")
|
||||
patchelf --set-rpath "''${oldRPATH:+$oldRPATH:}$RPATH" "$obj"
|
||||
|
||||
echo "shrinking RPATH in $type $obj"
|
||||
patchelf --shrink-rpath "$obj"
|
||||
|
||||
else
|
||||
|
||||
echo "unknown ELF type \"$type\"; not patching $obj"
|
||||
|
|
Loading…
Reference in a new issue