diff --git a/lxd.spec b/lxd.spec index 2ba1c85..3812b38 100644 --- a/lxd.spec +++ b/lxd.spec @@ -248,7 +248,7 @@ done # Switch to absolute DT_NEEDED for all dylibs we have as well as the main LXD # binary. We do this for all dylibs to make sure we don't end up with weird # chain-loading problems. -for target in bin/lxd "$INSTALL_LIBDIR"/lib*.so +for target in bin/* "$INSTALL_LIBDIR"/lib*.so do # Drop RPATH in case it got included during builds. patchelf --remove-rpath "$target" @@ -270,6 +270,8 @@ for bin in * do # Ensure that all our binaries are dynamic. boo#1138769 file "$bin" | grep 'dynamically linked' + # Check what they are linked against. + ldd "$bin" done popd