aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefiles/meson.build b/src/makefiles/meson.build
index 7635771c5ae..13045cbd6e4 100644
--- a/src/makefiles/meson.build
+++ b/src/makefiles/meson.build
@@ -16,7 +16,7 @@ if strip_bin.found()
strip_version.stdout().contains('GNU strip') or
strip_version.stderr().contains('GNU strip'))
working_strip = true
- strip_static_cmd = strip_cmd + ['-x']
+ strip_static_cmd = strip_cmd + ['--strip-unneeded']
strip_shared_cmd = strip_cmd + ['--strip-unneeded']
elif host_system == 'darwin'
working_strip = true