diff options
Diffstat (limited to 'packaging/qemu-accel.spec.in')
-rw-r--r-- | packaging/qemu-accel.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in index fe4718c..4044bb6 100644 --- a/packaging/qemu-accel.spec.in +++ b/packaging/qemu-accel.spec.in @@ -182,7 +182,7 @@ function prepare_package_list { echo "Setting up $name for $executables" ## Prepare the clang binaries separately for executable in $executables; do - bins="$bins $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`" + bins="$bins $executable `ldd $executable 2>/dev/null | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`" done for b in $(echo "$bins" | tr ' ' '\n' | sort -u); do |