Accepting request 766440 from home:cyphar:lxc
Patch all binaries to avoid requires issues. OBS-URL: https://build.opensuse.org/request/show/766440 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=34
This commit is contained in:
parent
99eb193448
commit
3fc66afda6
4
lxd.spec
4
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user