about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rwxr-xr-xscripts/build-many-glibcs.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bcee494f58..905d93aad1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,8 @@
 	* sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
 	define.
 	(VDSO_HASH_LINUX_4_15): Likewise.
+	* scripts/build-many-glibcs.py (class Glibc): Strip shared objects
+	in subdirectories of lib.
 
 2018-01-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index f358307424..75a920a161 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -1377,7 +1377,7 @@ class Glibc(object):
             if self.ctx.strip:
                 cmdlist.add_command('strip',
                                     ['sh', '-c',
-                                     ('%s %s/lib*/*.so' %
+                                     ('%s $(find %s/lib* -name "*.so")' %
                                       (self.tool_name('strip'), installdir))])
             cmdlist.add_command('check', ['make', 'check'])
             cmdlist.add_command('save-logs', [self.ctx.save_logs],