Accepting request 732956 from home:cyphar:lxc
- Completely drop all stripping -- it appears to cause all sorts of problems with unresolved symbol errors. OBS-URL: https://build.opensuse.org/request/show/732956 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=24
This commit is contained in:
4
lxd.spec
4
lxd.spec
@@ -243,8 +243,6 @@ for target in bin/lxd $PKGDIR/.install/%{_libdir}/%{name}/lib*.so
|
||||
do
|
||||
# Drop RPATH in case it got included during builds.
|
||||
patchelf --remove-rpath "$target"
|
||||
# Strip binaries manually.
|
||||
strip --strip-debug "$target"
|
||||
# And now replace all the possible DT_NEEDEDs to absolute paths.
|
||||
for lib in $PKGDIR/.install/%{_libdir}/%{name}/lib*.so
|
||||
do
|
||||
@@ -261,8 +259,6 @@ mkdir man
|
||||
pushd bin/
|
||||
for bin in *
|
||||
do
|
||||
# Strip binaries manually.
|
||||
strip --strip-debug "$target"
|
||||
# Ensure that all our binaries are dynamic. boo#1138769
|
||||
file "$bin" | grep 'dynamically linked'
|
||||
done
|
||||
|
Reference in New Issue
Block a user